jd2007 Posted August 11, 2007 Share Posted August 11, 2007 if i have a constructor in a child class, must i insert all variables of the parent constructor ? Link to comment https://forums.phpfreaks.com/topic/64368-i-have-a-constructor-in-a-parent-class-in-the-child-class-will-it-be-called/ Share on other sites More sharing options...
KrisNz Posted August 11, 2007 Share Posted August 11, 2007 call parent::__construct() in your child's constructor. Link to comment https://forums.phpfreaks.com/topic/64368-i-have-a-constructor-in-a-parent-class-in-the-child-class-will-it-be-called/#findComment-320985 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.