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); }
public function __construct(Bootstrap $bootstrap) { parent::__construct($bootstrap->getDI()); $this->bootstrap = $bootstrap; $this->config = $bootstrap->getConfig(); }