Pinq\Caching\CacheProvider::removeCache PHP Method

removeCache() public static method

Removes the configured cache implementation.
public static removeCache ( ) : void
return void
    public static function removeCache()
    {
        self::$cacheImplementation = null;
        self::$hasBeenCleared = false;
    }

Usage Example

Beispiel #1
0
 protected function tearDown()
 {
     Caching\CacheProvider::removeCache();
     Caching\CacheProvider::setDevelopmentMode(false);
 }