Covering OroCRM topics, including community updates and company announcements.  Subscribe

Forums OroCRM OroCRM – Programming Questions How to override a class of a specific bundle

This topic contains 1 reply, has 2 voices, and was last updated by  igalayev 7 months ago.

  • Creator
  • #54311


    Hello guys,
    I am trying (unsuccessfully) to override a specific class of a bundle.
    The class I’d like to override is:


    To do so, I created my bundle

    And I added the bundles.yml

    So far, so good.. the bundle is loaded.
    Now, it seems I can’t find any working example about how to override the class mentioned above.

    I tried creating a file with the same relative path as the class I’d like to override, but it doesn’t work.

    The first problem I have is that “Customer” is not the same type as in the original class.
    The second is that, even fixing it by declaring the full class path, this method is never used while the original is.
    Any hint?

    Thank you very much

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)

You must be logged in to reply to this topic.