* @license GNU General Public License, version 2 (GPL-2.0) * * For full copyright and license information, please see * the docs/CREDITS.txt file. * */ namespace phpbb\di; /** * Iterator which loads the services when they are requested */ class service_collection_iterator extends \ArrayIterator { /** * @var \phpbb\di\service_collection */ protected $collection; /** * Construct an ArrayIterator for service_collection * * @param \phpbb\di\service_collection $collection The collection to iterate over * @param int $flags Flags to control the behaviour of the ArrayObject object. * @see ArrayObject::setFlags() */ public function __construct(service_collection $collection, $flags = 0) { parent::__construct($collection, $flags); $this->collection = $collection; } /** * {@inheritdoc} */ public function current() { return $this->collection->offsetGet($this->key()); } } ue='distro/mdv2009.0'>distro/mdv2009.0 Mageia Installer and base platform for many utilitiesThierry Vignaud [tv]
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAhmad Samir <ahmad@mageia.org>2011-04-04 21:19:12 +0000
committerAhmad Samir <ahmad@mageia.org>2011-04-04 21:19:12 +0000
commit889542f0636fe16b741b2cd0b7db94790d6689d7 (patch)
tree743606f341ead7e25a9561727d3e299953a6c440
parent403de5c0474df05f0808493cf203de0888429074 (diff)
downloaddrakx-889542f0636fe16b741b2cd0b7db94790d6689d7.tar
drakx-889542f0636fe16b741b2cd0b7db94790d6689d7.tar.gz
drakx-889542f0636fe16b741b2cd0b7db94790d6689d7.tar.bz2
drakx-889542f0636fe16b741b2cd0b7db94790d6689d7.tar.xz
drakx-889542f0636fe16b741b2cd0b7db94790d6689d7.zip
- perl -pi -e 's!Hard drive!Hard disk drive!' (except install/steps_list.pm)
Diffstat