public function __construct(Container $app) { parent::__construct(); $this->app = $app; $this->RoutesGenerator = $this->app->make('Devise\\Pages\\RoutesGenerator'); $this->Config = Config::getFacadeRoot(); }