public static function reverse($params, $full = false)
    {
        $params = static::reverseToArray($params);

        return static::url($params, $full);
    }
public static function reverse($params, $full = false)
    {
        $params = static::reverseToArray($params);

        return static::url($params, $full);
    }
public static function reverse ( $ params , $ full = false ) { $ params = static :: reverseToArray ( $ params ) ; return static :: url ( $ params , $ full ) ; }
Reverses a parsed parameter array into a string.

Works similarly to Router::url(), but since parsed URL's contain additional
'pass' as well as 'url.url' keys. Those keys need to be specially
handled in order to reverse a params array into a string URL.

This will strip out 'autoRender', 'bare', 'requested', and 'return' param names as those
are used for CakePHP internals and should not normally be part of an output URL.

@param \Cake\Http\ServerRequest|array $params The params array or
Cake\Http\ServerRequest object that needs to be reversed.
@param bool $full Set to true to include the full URL including the
protocol when reversing the URL.
@return string The string that is the reversed result of the array
Reverses a parsed parameter array into a string .