original_string: public function parse($url, $method = '')
      {
          $params = parent::parse($url, $method);
          if (!$params) {
              return false;
          }
          if (!empty($params['controller'])) {
              $params['controller'] = Inflector::camelize($params['controller'], '-');
          }
          if (!empty($params['plugin'])) {
              $params['plugin'] = $this->_camelizePlugin($params['plugin']);
          }
          if (!empty($params['action'])) {
              $params['action'] = Inflector::variable(str_replace(
                  '-',
                  '_',
                  $params['action']
              ));
          }
  
          return $params;
      }
code: public function parse($url, $method = '')
      {
          $params = parent::parse($url, $method);
          if (!$params) {
              return false;
          }
          if (!empty($params['controller'])) {
              $params['controller'] = Inflector::camelize($params['controller'], '-');
          }
          if (!empty($params['plugin'])) {
              $params['plugin'] = $this->_camelizePlugin($params['plugin']);
          }
          if (!empty($params['action'])) {
              $params['action'] = Inflector::variable(str_replace(
                  '-',
                  '_',
                  $params['action']
              ));
          }
  
          return $params;
      }
code_tokens: public function parse ( $ url , $ method = '' ) { $ params = parent :: parse ( $ url , $ method ) ; if ( ! $ params ) { return false ; } if ( ! empty ( $ params [ 'controller' ] ) ) { $ params [ 'controller' ] = Inflector :: camelize ( $ params [ 'controller' ] , '-' ) ; } if ( ! empty ( $ params [ 'plugin' ] ) ) { $ params [ 'plugin' ] = $ this -> _camelizePlugin ( $ params [ 'plugin' ] ) ; } if ( ! empty ( $ params [ 'action' ] ) ) { $ params [ 'action' ] = Inflector :: variable ( str_replace ( '-' , '_' , $ params [ 'action' ] ) ) ; } return $ params ; }
docstring: Parses a string URL into an array. If it matches, it will convert the
  controller and plugin keys to their CamelCased form and action key to
  camelBacked form.
  
  @param string $url The URL to parse
  @param string $method The HTTP method.
  @return array|false An array of request parameters, or false on failure.
docstring_tokens: Parses a string URL into an array . If it matches it will convert the controller and plugin keys to their CamelCased form and action key to camelBacked form .