/** * Loads classes from cache. * * @return boolean True on success, otherwise false */ public static function loadFromCache() { if (file_exists(self::$_cacheFile)) { self::$_classNames = unserialize(file_get_contents(self::$_cacheFile)); $result = true; } else { $result = false; } return $result; }