original_string: public function add($query, $resource, array $meta = [])
      {
          $query = static::clean($query);
          list($method, $uri) = explode(' ', $query);
  
          $this->routes[$query] = new Route($method, $uri, $resource, $meta);
  
          return $this;
      }
code: public function add($query, $resource, array $meta = [])
      {
          $query = static::clean($query);
          list($method, $uri) = explode(' ', $query);
  
          $this->routes[$query] = new Route($method, $uri, $resource, $meta);
  
          return $this;
      }
code_tokens: public function add ( $ query , $ resource , array $ meta = [ ] ) { $ query = static :: clean ( $ query ) ; list ( $ method , $ uri ) = explode ( ' ' , $ query ) ; $ this -> routes [ $ query ] = new Route ( $ method , $ uri , $ resource , $ meta ) ; return $ this ; }
docstring: Add route definition
  
  @param string $query
  @param $resource
  @param array $meta
  @return $this
docstring_tokens: Add route definition