PHP 5 introduced the concept of constructor. Constructors are magic method which call automatically when object is created. But when you define the constructor method both in Child and Parent class, it will not call until you explicitly reference it. So How to call parent class constructor in child class.
-
Related Posts (YARPP)
-
Topics
-
-