public function __construct(array $definitions = []) { $this->definitions = $definitions; }
/** * @param string $file File in which the definitions are returned as an array. */ public function __construct($file) { // Lazy-loading to improve performances $this->file = $file; parent::__construct([]); }