public function __construct() { if ($this->debug === true && (bool) config('app.debug') !== true) { $this->enabled = false; } parent::__construct(); }
/** * Command constructor. * * @param \Codex\Core\Contracts\Codex|\Codex\Core\Factory $codex * @param \Illuminate\Contracts\Queue\Queue $queue * @param \Codex\Hooks\Git\Contracts\Factory|\Codex\Hooks\Git\Factory $git */ public function __construct(Codex $codex, Queue $queue, Git $git) { parent::__construct(); $this->codex = $codex; $this->queue = $queue; $this->git = $git; }