/** * * @param mixed $container A container acting as source for \MUtil_Registry_Source * @param array $dirs The directories where to look for requested classes */ public function __construct($container, array $dirs) { parent::__construct($container); if ($this->cascade) { $this->_dirs = $this->_cascadedDirs($dirs, $this->cascade, true); } else { $this->_dirs = $dirs; } $this->_loader = new \MUtil_Loader_PluginLoader($this->_dirs); if (\MUtil_Registry_Source::$verbose) { \MUtil_Echo::r($this->_dirs, '$this->_dirs in ' . get_class($this) . '->' . __FUNCTION__ . '():'); } }