0
  1. This is my di.xml:

    <preferencefor="Magento\CustomerSegment\Controller\Adminhtml\Index\Save" type="MyModule\CustomerSegment\Controller\Adminhtml\Index\Save"/>
    <preferencefor="Magento\CustomerSegment\Model\Segment\Condition\Combine" type="MyModule\CustomerSegment\Model\Segment\Condition\Combine" />
    
  2. When I execute bin/magento setup:di:compile,I didn't find code in generated files. But first preference is executed.This is generated fidle in customerSegment:

enter image description here

3
  • Do you face any issue into compile command related to this? Commented Mar 4 at 10:27
  • No errors appear in the command
    – Allen
    Commented Mar 4 at 11:11
  • Then what you need? Commented Mar 4 at 11:55

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.