protected function _initialize(Library\ObjectConfig $config) { if (empty($config->adapters)) { $config->adapters = array('image', 'finfo'); } parent::_initialize($config); }
protected function _initialize(Library\ObjectConfig $config) { $config->append(array('path' => '')); parent::_initialize($config); }
/** * Initializes the config * @param Library\ObjectConfig $config */ protected function _initialize(Library\ObjectConfig $config) { $config->append(array('auto_create' => true, 'auto_load' => true, 'cache_namespace' => $this->getObject('application')->getConfig()->cache_namespace, 'cache_identifier' => 'route-templates')); parent::_initialize($config); }