original_string: public function route(array $condition)
      {
          if (!in_array($condition['operator'], array('=', '!='))) {
              return false;
          }
  
          $route = $this->route->get();
          return $this->compare($route['pattern'], $condition['value'], $condition['operator']);
      }
code: public function route(array $condition)
      {
          if (!in_array($condition['operator'], array('=', '!='))) {
              return false;
          }
  
          $route = $this->route->get();
          return $this->compare($route['pattern'], $condition['value'], $condition['operator']);
      }
code_tokens: public function route ( array $ condition ) { if ( ! in_array ( $ condition [ 'operator' ] , array ( '=' , '!=' ) ) ) { return false ; } $ route = $ this -> route -> get ( ) ; return $ this -> compare ( $ route [ 'pattern' ] , $ condition [ 'value' ] , $ condition [ 'operator' ] ) ; }
docstring: Returns true if route condition is met
  @param array $condition
  @return boolean
docstring_tokens: Returns true if route condition is met