Example #1
0
 /**
  * ApiController constructor.
  *
  * @param \Codex\Codex                       $codex
  * @param \Illuminate\Contracts\View\Factory $view
  */
 public function __construct(Codex $codex, ViewFactory $view)
 {
     parent::__construct($codex, $view);
     $this->codex = $codex;
     $this->addons = $this->codex->addons;
     $this->projects = $this->codex->projects;
     $this->menus = $this->codex->menus;
 }
Example #2
0
 /**
  * CodexController constructor.
  *
  * @param \Codex\Codex $codex
  * @param \Illuminate\Contracts\View\Factory $view
  */
 public function __construct(Codex $codex, View $view)
 {
     parent::__construct($codex, $view);
 }
Example #3
0
 /**
  * CodexController constructor.
  *
  * @param \Codex\Codex $codex
  * @param \Illuminate\Contracts\View\Factory $view
  */
 public function __construct(Codex $codex, View $view)
 {
     $this->hookPoint('controller:construct', [$codex, $view]);
     parent::__construct($codex, $view);
     $this->hookPoint('controller:constructed', [$codex, $view]);
 }