XStatic\StaticProxy::__callStatic PHP Method

__callStatic() public static method

Performs the proxying of the statically called method to the Proxy Subject in the Container
public static __callStatic ( string $method, array $args ) : mixed
$method string
$args array
return mixed
    public static function __callStatic($method, $args)
    {
        return call_user_func_array(array(static::getInstance(), $method), $args);
    }