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