/**
  * Load the persistent file cache.
  */
 protected function loadCache()
 {
     if (!isset(self::$cache)) {
         $cacheDir = $this->getCacheDir();
         $filename = "{$cacheDir}/cache.yml";
         if (file_exists($filename) && ($raw = file_get_contents($filename))) {
             $yaml = new Yaml();
             self::$cache = $yaml->parse($raw);
             self::$cacheAsLoaded = self::$cache;
         }
     }
 }