class PhpElement
Hierarchy
- class \PharIo\Manifest\ManifestElement
- class \PharIo\Manifest\PhpElement extends \PharIo\Manifest\ManifestElement
Expanded class hierarchy of PhpElement
File
-
vendor/
phar-io/ manifest/ src/ xml/ PhpElement.php, line 13
Namespace
PharIo\ManifestView source
class PhpElement extends ManifestElement {
public function getVersion() : string {
return $this->getAttributeValue('version');
}
public function hasExtElements() : bool {
return $this->hasChild('ext');
}
public function getExtElements() : ExtElementCollection {
return new ExtElementCollection($this->getChildrenByName('ext'));
}
}
Members
Title Sort descending | Modifiers | Object type | Summary |
---|---|---|---|
ManifestElement::$element | private | property | @var DOMElement |
ManifestElement::getAttributeValue | protected | function | |
ManifestElement::getChildByName | protected | function | |
ManifestElement::getChildrenByName | protected | function | |
ManifestElement::hasAttribute | protected | function | |
ManifestElement::hasChild | protected | function | |
ManifestElement::XMLNS | public | constant | |
ManifestElement::__construct | public | function | |
PhpElement::getExtElements | public | function | |
PhpElement::getVersion | public | function | |
PhpElement::hasExtElements | public | function |