RsD0p9BK
5/29/2017 - 11:22 AM

class__parent_construct.php

// How do I get a PHP class constructor to call its parent's parent's constructor

class Grandpa {
  public function __construct() {
    parent::__construct();
  }
}

// https://stackoverflow.com/questions/1557608/how-do-i-get-a-php-class-constructor-to-call-its-parents-parents-constructor