Pinq\Caching\CacheProvider::getImplementation PHP Method

getImplementation() private static method

private static getImplementation ( ) : Pinq\Caching\ICacheAdapter
return Pinq\Caching\ICacheAdapter
    private static function getImplementation()
    {
        if (self::$cacheImplementation === null) {
            self::$cacheImplementation = new NullCache();
        }
        if (self::$isDevelopmentMode && !self::$hasBeenCleared) {
            self::$cacheImplementation->clear();
            self::$hasBeenCleared = true;
        }
        return self::$cacheImplementation;
    }