Пример #1
0
 protected function _initializeHelper($name)
 {
     switch ($name) {
         case 'cache':
             return new KmsCiFramework_Environment_CacheHelper($this->_runner);
         case 'code':
             return new KmsCiFramework_Environment_CodeHelper($this->_runner);
         case 'config':
             return new KmsCiFramework_Environment_ConfigHelper($this->_runner);
         case 'logs':
             return new KmsCiFramework_Environment_LogsHelper($this->_runner);
         default:
             return parent::_initializeHelper($name);
     }
 }
 protected function _runBuild()
 {
     return $this->_environment->invoke('CliRunner::_runBuild');
 }