Illuminate\Support\Facades\Facade::isMock PHP 메소드

isMock() 보호된 정적인 메소드

Determines whether a mock is set as the instance of the facade.
protected static isMock ( ) : boolean
리턴 boolean
    protected static function isMock()
    {
        $name = static::getFacadeAccessor();
        return isset(static::$resolvedInstance[$name]) && static::$resolvedInstance[$name] instanceof MockInterface;
    }