Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. PhpElement.php

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\Manifest
View 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

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal