Mercurial > hg > cmmr2012-drupal-site
comparison vendor/phar-io/manifest/src/xml/ComponentElementCollection.php @ 2:5311817fb629
Theme updates
author | Chris Cannam |
---|---|
date | Tue, 10 Jul 2018 13:19:18 +0000 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
1:0b0e5f3b1e83 | 2:5311817fb629 |
---|---|
1 <?php | |
2 /* | |
3 * This file is part of PharIo\Manifest. | |
4 * | |
5 * (c) Arne Blankerts <arne@blankerts.de>, Sebastian Heuer <sebastian@phpeople.de>, Sebastian Bergmann <sebastian@phpunit.de> | |
6 * | |
7 * For the full copyright and license information, please view the LICENSE | |
8 * file that was distributed with this source code. | |
9 */ | |
10 | |
11 namespace PharIo\Manifest; | |
12 | |
13 class ComponentElementCollection extends ElementCollection { | |
14 public function current() { | |
15 return new ComponentElement( | |
16 $this->getCurrentElement() | |
17 ); | |
18 } | |
19 } |