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'])) {
            if (strpos($params['plugin'], '/') === false) {
                $params['plugin'] = Inflector::camelize($params['plugin']);
            } else {
                list($vendor, $plugin) = explode('/', $params['plugin'], 2);
                $params['plugin'] = Inflector::camelize($vendor) . '/' . Inflector::camelize($plugin);
            }
        }

        return $params;
    }
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'])) {
            if (strpos($params['plugin'], '/') === false) {
                $params['plugin'] = Inflector::camelize($params['plugin']);
            } else {
                list($vendor, $plugin) = explode('/', $params['plugin'], 2);
                $params['plugin'] = Inflector::camelize($vendor) . '/' . Inflector::camelize($plugin);
            }
        }

        return $params;
    }
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' ] ) ) { if ( strpos ( $ params [ 'plugin' ] , '/' ) === false ) { $ params [ 'plugin' ] = Inflector :: camelize ( $ params [ 'plugin' ] ) ; } else { list ( $ vendor , $ plugin ) = explode ( '/' , $ params [ 'plugin' ] , 2 ) ; $ params [ 'plugin' ] = Inflector :: camelize ( $ vendor ) . '/' . Inflector :: camelize ( $ plugin ) ; } } return $ params ; }
Parses a string URL into an array. If it matches, it will convert the prefix, controller and
plugin keys to their camelized form.

@param string $url The URL to parse
@param string $method The HTTP method being matched.
@return array|false An array of request parameters, or false on failure.
Parses a string URL into an array . If it matches it will convert the prefix controller and plugin keys to their camelized form .