public static function setDirectoryCache($directory, $fileExtension = DirectoryCache::DEFAULT_EXTENSION)
    {
        self::$cacheImplementation = new DirectoryCache($directory, $fileExtension);
        self::$hasBeenCleared      = false;
    }
public static function setDirectoryCache($directory, $fileExtension = DirectoryCache::DEFAULT_EXTENSION)
    {
        self::$cacheImplementation = new DirectoryCache($directory, $fileExtension);
        self::$hasBeenCleared      = false;
    }
public static function setDirectoryCache ( $ directory , $ fileExtension = DirectoryCache :: DEFAULT_EXTENSION ) { self :: $ cacheImplementation = new DirectoryCache ( $ directory , $ fileExtension ) ; self :: $ hasBeenCleared = false ; }
Uses the supplied directory to store the parsed queries.

@param string $directory     The directory to cache the data
@param string $fileExtension The file extension for every cache file

@return void
Uses the supplied directory to store the parsed queries .