protected function getRouter()
    {
        return isset($this->laravel->router) ? $this->laravel->router : $this->laravel;
    }
protected function getRouter()
    {
        return isset($this->laravel->router) ? $this->laravel->router : $this->laravel;
    }
protected function getRouter ( ) { return isset ( $ this -> laravel -> router ) ? $ this -> laravel -> router : $ this -> laravel ; }
Get the router.

@return \Laravel\Lumen\Routing\Router
Get the router .