Chris@2: , Sebastian Heuer , Sebastian Bergmann Chris@2: * Chris@2: * For the full copyright and license information, please view the LICENSE Chris@2: * file that was distributed with this source code. Chris@2: */ Chris@2: Chris@2: namespace PharIo\Manifest; Chris@2: Chris@2: class ContainsElement extends ManifestElement { Chris@2: public function getName() { Chris@2: return $this->getAttributeValue('name'); Chris@2: } Chris@2: Chris@2: public function getVersion() { Chris@2: return $this->getAttributeValue('version'); Chris@2: } Chris@2: Chris@2: public function getType() { Chris@2: return $this->getAttributeValue('type'); Chris@2: } Chris@2: Chris@2: public function getExtensionElement() { Chris@2: return new ExtensionElement( Chris@2: $this->getChildByName('extension') Chris@2: ); Chris@2: } Chris@2: }