Exemplo n.º 1
0
 public function __construct()
 {
     if (self::$prototype === null) {
         $parent = get_parent_class() === false || !isset(parent::$prototype) ? null : parent::$prototype;
         self::$prototype = new Prototype(get_called_class(), $parent);
     }
 }
Exemplo n.º 2
0
 public function __construct()
 {
     ProtoObject::__construct();
 }