Eloquent\Phony\Facade\AbstractFacade::stubGlobal PHP Method

stubGlobal() public static method

Stubs created via this function do not forward to the original function by default. This differs from stubs created by other methods.
public static stubGlobal ( string $function, string $namespace ) : StubVerifier
$function string The name of the function in the global namespace.
$namespace string The namespace in which to create the new function.
return Eloquent\Phony\Stub\StubVerifier The new stub.
    public static function stubGlobal($function, $namespace)
    {
        return static::driver()->stubVerifierFactory->createGlobal($function, $namespace);
    }