original_string: public function get($method = null)
      {
          return is_null($method) ? $this->getRoutes() : Arr::get($this->routes, $method, []);
      }
code: public function get($method = null)
      {
          return is_null($method) ? $this->getRoutes() : Arr::get($this->routes, $method, []);
      }
code_tokens: public function get ( $ method = null ) { return is_null ( $ method ) ? $ this -> getRoutes ( ) : Arr :: get ( $ this -> routes , $ method , [ ] ) ; }
docstring: Get routes from the collection by method.
  
  @param  string|null  $method
  @return array
docstring_tokens: Get routes from the collection by method .