public function __construct(array $attributes = []) { parent::__construct(array_merge(['debug' => true, 'providers' => ['foo' => 'foo', 'bar' => 'bar'], 'middlewares' => ['foo', 'bar']], $attributes)); }
/** * @param array $attributes */ public function __construct(array $attributes = []) { $this->configure(); parent::__construct($attributes); }
public function __construct() { parent::__construct(['debug' => true, 'providers' => ['foo' => 'foo', 'bar' => 'bar'], 'middlewares' => ['foo', 'bar']]); }
/** * DefaultConfiguration constructor. */ public function __construct() { parent::__construct(['debug' => true, 'rootPath' => $this->configureRootPath(), 'namespace' => $this->configureNamespace(), 'paths' => $this->configurePaths(), 'commands' => $this->configureCommands()]); }