Copyright 2010-2016 Horde LLC (http://www.horde.org/) See the enclosed file COPYING for license information (LGPL). If you did not receive this file, see http://www.horde.org/licenses/lgpl21.
Author: Gunnar Wrobel (wrobel@pardus.de)
Inheritance: extends Horde_Injector, implements Components_Dependencies
Esempio n. 1
0
 protected function getReleaseTasks()
 {
     $dependencies = new Components_Dependencies_Injector();
     $this->output = new Components_Stub_Output();
     $dependencies->setInstance('Components_Output', $this->output);
     return $dependencies->getReleaseTasks();
 }
Esempio n. 2
0
 private function _initIdentify($arguments, $options = array(), $dependencies = null)
 {
     if ($dependencies === null) {
         $dependencies = new Components_Dependencies_Injector();
     }
     $this->config = new Components_Stub_Config($arguments, $options);
     $dependencies->initConfig($this->config);
     $identify = new Components_Component_Identify($this->config, array('list' => array('test'), 'missing_argument' => array('help')), $dependencies);
     $identify->setComponentInConfiguration();
 }