file-fetcher
Public Member Functions | Public Attributes | Protected Member Functions | List of all members
PharIo\Manifest\ManifestElement Class Reference
Inheritance diagram for PharIo\Manifest\ManifestElement:
PharIo\Manifest\AuthorElement PharIo\Manifest\BundlesElement PharIo\Manifest\ComponentElement PharIo\Manifest\ContainsElement PharIo\Manifest\CopyrightElement PharIo\Manifest\ExtElement PharIo\Manifest\ExtensionElement PharIo\Manifest\LicenseElement PharIo\Manifest\PhpElement PharIo\Manifest\RequiresElement

Public Member Functions

 __construct (DOMElement $element)
 

Public Attributes

const XMLNS = 'https://phar.io/xml/manifest/1.0'
 

Protected Member Functions

 getAttributeValue ($name)
 
 getChildByName ($elementName)
 
 getChildrenByName ($elementName)
 
 hasChild ($elementName)
 

Constructor & Destructor Documentation

◆ __construct()

PharIo\Manifest\ManifestElement::__construct ( DOMElement  $element)

ContainsElement constructor.

Parameters
DOMElement$element

Member Function Documentation

◆ getAttributeValue()

PharIo\Manifest\ManifestElement::getAttributeValue (   $name)
protected
Parameters
string$name
Returns
string
Exceptions
ManifestElementException

◆ getChildByName()

PharIo\Manifest\ManifestElement::getChildByName (   $elementName)
protected
Parameters
$elementName
Returns
DOMElement
Exceptions
ManifestElementException

◆ getChildrenByName()

PharIo\Manifest\ManifestElement::getChildrenByName (   $elementName)
protected
Parameters
$elementName
Returns
DOMNodeList
Exceptions
ManifestElementException

◆ hasChild()

PharIo\Manifest\ManifestElement::hasChild (   $elementName)
protected
Parameters
string$elementName
Returns
bool

Member Data Documentation

◆ XMLNS

const PharIo\Manifest\ManifestElement::XMLNS = 'https://phar.io/xml/manifest/1.0'

The documentation for this class was generated from the following file: