Eloquent\Phony\Facade\AbstractFacade::stubGlobal PHP 메소드

stubGlobal() 공개 정적인 메소드

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