public function get($method = null)
    {
        return is_null($method) ? $this->getRoutes() : Arr::get($this->routes, $method, []);
    }
public function get($method = null)
    {
        return is_null($method) ? $this->getRoutes() : Arr::get($this->routes, $method, []);
    }
public function get ( $ method = null ) { return is_null ( $ method ) ? $ this -> getRoutes ( ) : Arr :: get ( $ this -> routes , $ method , [ ] ) ; }
Get routes from the collection by method.

@param  string|null  $method
@return array
Get routes from the collection by method .