Themosis\Facades\Facade::__callStatic PHP Method

__callStatic() public static method

Magic method. Use to dynamically call the registered instance method.
public static __callStatic ( string $method, array $args ) : mixed
$method string The class method used.
$args array The method arguments.
return mixed
    public static function __callStatic($method, $args)
    {
        $instance = static::getInstance();
        /*
         * Call the instance and its method.
         */
        return call_user_func_array([$instance, $method], $args);
    }