function CachingFileResolver(&$resolver)
  {
    parent :: FileResolverDecorator($resolver);

    $this->_loadCache();

    //destructors are buggy!!!
    register_shutdown_function(array($this, 'SaveCache'));
  }
  function __construct($resolver)
  {
    parent :: __construct($resolver);

    $this->_loadCache();

    //destructors are buggy!!!
    register_shutdown_function(array($this, 'SaveCache'));
  }