protected function getRoutes()
    {
        // Support lumen < 5.5 by checking for the router property.
        $router = property_exists($this->app, 'router') ? $this->app->router : $this->app;

        return $router->getRoutes();
    }
protected function getRoutes()
    {
        // Support lumen < 5.5 by checking for the router property.
        $router = property_exists($this->app, 'router') ? $this->app->router : $this->app;

        return $router->getRoutes();
    }
protected function getRoutes ( ) { // Support lumen < 5.5 by checking for the router property. $ router = property_exists ( $ this -> app , 'router' ) ? $ this -> app -> router : $ this -> app ; return $ router -> getRoutes ( ) ; }
Get routes data.

@return array
Get routes data .