What is the procedure to call a constructor for a parent class?
Answer Posted / Lal Singh Garbyal
In PHP, you can call a parent class constructor by using the "parent::__construct()" syntax. This should be called within the child class constructor.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers