public function __construct(Application $app, Router $router) { $this->app = $app; $this->router = $router; }