original_string: protected function simpleRoute($name, $data)
      {
          if (is_string($data)) {
              return $this->map->get($name, $data);
          }
          return $this->createRoute($name, $data);
      }
code: protected function simpleRoute($name, $data)
      {
          if (is_string($data)) {
              return $this->map->get($name, $data);
          }
          return $this->createRoute($name, $data);
      }
code_tokens: protected function simpleRoute ( $ name , $ data ) { if ( is_string ( $ data ) ) { return $ this -> map -> get ( $ name , $ data ) ; } return $ this -> createRoute ( $ name , $ data ) ; }
docstring: Check if the data is a simple string, create a get with it
  
  If not a string pass the data to the construction chain where the route
  will be set with the data array passed
  
  @param string       $name The route name
  @param string|array $data Meta data fo the route
  
  @return Route
docstring_tokens: Check if the data is a simple string create a get with it