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