public static function getLibrary() { if (!PageCache::$library) { $class = Loader::helper('text')->camelcase(PAGE_CACHE_LIBRARY) . 'PageCache'; PageCache::$library = new $class(); } return PageCache::$library; }