<?php /** * Static use of cacheable - capable of caching any object! */ require 'CacheHelper.php'; CacheHelper::$cacheDir = dirname(__FILE__) . '/cache'; // Configure the cache dir $param1 = 'value2'; $cache = new CacheHelper(); $cache->cachedInclude('CacheHelper_include.php', null, CacheExpire::create()->timeout(60));