Skip to content

Factory and non factory method

here you can see i am loading my helper 2 ways one is factory and second non factory but i dont know what will be the advantage if i call it through factory and non factory please help me to understand this difference thanks.

MyBasicHelperDataFactory $helper,
        MyBasicHelperData $helpers)