| 1 | <?php |
||
| 30 | class CachedConfigLoader extends ObjectAbstract implements ConfigLoaderInterface |
||
| 31 | { |
||
| 32 | /** |
||
| 33 | * the full path of cache file |
||
| 34 | * |
||
| 35 | * @var string |
||
| 36 | * @access protected |
||
| 37 | */ |
||
| 38 | protected $cache_file; |
||
| 39 | |||
| 40 | /** |
||
| 41 | * loaded flag |
||
| 42 | * |
||
| 43 | * @var bool |
||
| 44 | * @access protected |
||
| 45 | */ |
||
| 46 | protected $loaded = false; |
||
| 47 | |||
| 48 | /** |
||
| 49 | * Constructor |
||
| 50 | * |
||
| 51 | * @param string $cacheFile |
||
| 52 | * @throws NotFoundException if cache file not found |
||
| 53 | * @access public |
||
| 54 | * @api |
||
| 55 | */ |
||
| 56 | public function __construct(/*# string */ $cacheFile) |
||
| 60 | |||
| 61 | /** |
||
| 62 | * {@inheritDoc} |
||
| 63 | */ |
||
| 64 | public function load( |
||
| 75 | } |
||
| 76 |