XML config reader.

package Default

 Methods

fromFile(): defined by Reader interface.

fromFile(string $filename) : array
see
inherited_from \Zend\Config\Reader\ReaderInterface::fromFile()

Parameters

$filename

string

Exceptions

\Zend\Config\Exception\RuntimeException

Returns

array

fromString(): defined by Reader interface.

fromString(string $string) : array | boolean
see
inherited_from \Zend\Config\Reader\ReaderInterface::fromString()

Parameters

$string

string

Exceptions

\Zend\Config\Exception\RuntimeException

Returns

arrayboolean

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

Default

 

XML Reader instance.

$reader : \XMLReader

Default

 

Nodes to handle as plain text.

$textNodes : array

Default

array(\XMLReader::TEXT, \XMLReader::CDATA, \XMLReader::WHITESPACE, \XMLReader::SIGNIFICANT_WHITESPACE)