예제 #1
0
파일: Components.php 프로젝트: horde/horde
 private static function _prepareConfig(Horde_Argv_Parser $parser)
 {
     $config = new Components_Configs();
     $config->addConfigurationType(new Components_Config_Cli($parser));
     $config->unshiftConfigurationType(new Components_Config_File($config->getOption('config')));
     return $config;
 }