Skip to main content

Questions tagged [oop]

1 vote
2 answers
582 views

How do you overwrite a trait function from vendor. Things i did try in the di.xml <preference for="\Vendor\Module\Traits\Model\ChangeMe" type="\Company\Module\Traits\...
Johan's user avatar
  • 11
2 votes
2 answers
2k views

For example I have a class A which extends class B and B extends C and so on. Now I can get all the function which is accessible in class A by php function getClassMethods($this); But if I found a ...
26vivek's user avatar
  • 477
0 votes
1 answer
407 views

How can I use Namespaces and USE function in magento 1.9 ? I dont want to use require or include function just set one namespaces and use this in my controller like laravel or magento 2. Is it ...
Yuvraj Singh Shekhawat's user avatar
3 votes
2 answers
929 views

In a controller's execute method, has there been any clear guidance from the Magento core team if client developers should Be using the individual PageFactory, JsonFactory, RawFactory, etc objects Or ...
Alana Storm's user avatar
  • 44.5k