Func.php
public static function partialRight(callable $callback, ...$appendedArgs) : \Closure
    {
        return function(...$args) use ($callback, $appendedArgs) {
            return $callback(...$args, ...$appendedArgs);
        };
    }
public static function partialRight(callable $callback, ...$appendedArgs) : \Closure
    {
        return function(...$args) use ($callback, $appendedArgs) {
            return $callback(...$args, ...$appendedArgs);
        };
    }
public static function partialRight ( callable $ callback , ... $ appendedArgs ) : \ Closure { return function ( ... $ args ) use ( $ callback , $ appendedArgs ) { return $ callback ( ... $ args , ... $ appendedArgs ) ; } ; }
Creates a Closure that, when called, invokes the wrapped callable with any additional partial arguments
appended to those provided to the new Closure.

@param   callable    $callback           The callable to wrap.
@param   mixed       ...$appendedArgs    The arguments to append to the callback.
@return  \Closure                        The wrapper.
Creates a Closure that when called invokes the wrapped callable with any additional partial arguments appended to those provided to the new Closure .