ScriptFUSION\Porter\Provider\AbstractProvider::disableCache PHP 메소드

disableCache() 공개 메소드

public disableCache ( )
    public function disableCache()
    {
        $connector = $this->getConnector();
        if (!$connector instanceof CacheToggle) {
            throw CacheUnavailableException::modify();
        }
        $connector->disableCache();
    }

Usage Example

예제 #1
0
 public function testDisableCacheSucceeds()
 {
     $this->setupCachingConnector()->shouldReceive('disableCache');
     $this->provider->disableCache();
 }