Eloquent\Phony\Facade\AbstractFacade::stubGlobal PHP Méthode

stubGlobal() public static méthode

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.
Résultat Eloquent\Phony\Stub\StubVerifier The new stub.
    public static function stubGlobal($function, $namespace)
    {
        return static::driver()->stubVerifierFactory->createGlobal($function, $namespace);
    }