コード例 #1
0
ファイル: Command.php プロジェクト: laradic-old/illuminate
 public function __construct()
 {
     if ($this->debug === true && (bool) config('app.debug') !== true) {
         $this->enabled = false;
     }
     parent::__construct();
 }
コード例 #2
0
ファイル: Command.php プロジェクト: codex-project/git-hook
 /**
  * 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;
 }