Beispiel #1
0
 public function __construct(Bootstrap $bootstrap, $basePath)
 {
     parent::__construct();
     $this->bootstrap = $bootstrap;
     $this->config = $bootstrap->getConfig();
     // setup base path
     $this->setBasePath($basePath);
     $this->di = $bootstrap->getDI();
     $this->setName('Orbit Skeleton Console');
     $this->setVersion(self::VERSION);
 }
Beispiel #2
0
 public function __construct(Bootstrap $bootstrap)
 {
     parent::__construct($bootstrap->getDI());
     $this->bootstrap = $bootstrap;
     $this->config = $bootstrap->getConfig();
 }