Lggr
All Classes Namespaces Functions Variables Pages
Public Member Functions | Public Attributes | Protected Member Functions | List of all members
PharIo\Manifest\ManifestElement Class Reference
Inheritance diagram for PharIo\Manifest\ManifestElement:
Inheritance graph
[legend]
Collaboration diagram for PharIo\Manifest\ManifestElement:
Collaboration graph
[legend]

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

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