public function parse($url, $method = '')
    {
        $params = parent::parse($url, $method);
        if (!$params) {
            return false;
        }
        $params['controller'] = $params['plugin'];

        return $params;
    }
public function parse($url, $method = '')
    {
        $params = parent::parse($url, $method);
        if (!$params) {
            return false;
        }
        $params['controller'] = $params['plugin'];

        return $params;
    }
public function parse ( $ url , $ method = '' ) { $ params = parent :: parse ( $ url , $ method ) ; if ( ! $ params ) { return false ; } $ params [ 'controller' ] = $ params [ 'plugin' ] ; return $ params ; }
Parses a string URL into an array. If a plugin key is found, it will be copied to the
controller parameter.

@param string $url The URL to parse
@param string $method The HTTP method
@return array|false An array of request parameters, or boolean false on failure.
Parses a string URL into an array . If a plugin key is found it will be copied to the controller parameter .