Copyright 2011-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.
/** * Constructor. * * @param string $name Component name. * @param string $stability Component stability. * @param string $channel Component channel. * @param Horde_Pear_Remote $remote Remote channel handler. * @param Horde_Http_Client $client The HTTP client for remote * access. * @param Components_Config $config The configuration for the * current job. * @param Components_Component_Factory $factory Generator for additional * helpers. */ public function __construct($name, $stability, $channel, Horde_Pear_Remote $remote, Horde_Http_Client $client, Components_Config $config, Components_Component_Factory $factory) { $this->_name = $name; $this->_stability = $stability; $this->_channel = $channel; $this->_remote = $remote; $this->_client = $client; parent::__construct($config, $factory); }
/** * Constructor. * * @param string $directory Path to the source directory. * @param boolean $shift Did identification of the * component consume an argument? * @param Components_Config $config The configuration for the * current job. * @param Components_Component_Factory $factory Generator for additional * helpers. */ public function __construct($archive, Components_Config $config, Components_Component_Factory $factory) { $this->_archive = $archive; parent::__construct($config, $factory); }
/** * Constructor. * * @param string $directory Path to the source directory. * @param boolean $shift Did identification of the * component consume an argument? * @param Components_Config $config The configuration for the * current job. * @param Components_Component_Factory $factory Generator for additional * helpers. */ public function __construct($directory, Components_Config $config, Components_Component_Factory $factory) { $this->_directory = realpath($directory); parent::__construct($config, $factory); }