public static function setDirectoryCache($directory, $fileExtension = DirectoryCache::DEFAULT_EXTENSION)
    {
        self::$cacheImplementation = new DirectoryCache($directory, $fileExtension);
        self::$hasBeenCleared      = false;
    }