__construct() публичный Метод

Instantiate instance configured to load configurations based on called class name
public __construct ( )
Пример #1
0
 /**
  * @param Commit $commit The commit from which to load the configurations file.
  */
 public function __construct(Commit $commit)
 {
     $this->commit = $commit;
     parent::__construct();
 }
Пример #2
0
 public function __construct($skipLoad = true)
 {
     if ($skipLoad) {
         return;
     }
     parent::__construct();
 }