Exemple #1
0
 /**
  * Constructor.
  *
  * @param string               $dir   Directory to load configs from
  * @param EnvironmentInterface $env   The environment object
  * @param InstanceInterface    $cache The cache instance
  */
 public function __construct($dir, EnvironmentInterface $env, InstanceInterface $cache)
 {
     parent::__construct($dir, $env);
     $this->_cache = $cache;
     $this->_cacheKey = sprintf(self::CACHE_KEY_PATTERN, md5($this->_dir));
 }