/** * Run the route action and return the response. * * @return mixed */ public function run() { $app = app(); if ($app['router']->routingToController($this->action) === true) { $this->action = $app['router']->makeControllerActionClosure($this->action); } return parent::run(); }
public function run(Request $request) { $this->container = $this->container ?: Container::getInstance(); return parent::run($request); }