XML config reader.

 Methods

fromFile(): defined by Reader interface.

fromFile(string $filename) : array

see \Zend\Config\Reader\ReaderInterface::fromFile()

Parameters

$filename

string

Exceptions

\Zend\Config\Exception\RuntimeException

Returns

array

fromString(): defined by Reader interface.

fromString(string $string) : array | bool

see \Zend\Config\Reader\ReaderInterface::fromString()

Parameters

$string

string

Exceptions

\Zend\Config\Exception\RuntimeException

Returns

arraybool

Get all attributes on the current node.

getAttributes() : array

Returns

array

Process data from the created XMLReader.

process() : array

Returns

array

Process the next inner element.

processNextElement() : mixed

Returns

mixed

 Properties

 

Directory of the file to process.

$directory : string

 

XML Reader instance.

$reader : \XMLReader

 

Nodes to handle as plain text.

$textNodes : array