Java-style properties 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 if the file cannot be read

Returns

array

fromString(): defined by Reader interface.

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

Parameters

$string

string

Exceptions

\Zend\Config\Exception\RuntimeException if an @include key is found

Returns

array

Parse Java-style properties string

parse(string $string) : array
todo Support use of the equals sign "key=value" as key-value delimiter
todo Ignore whitespace that precedes text past the first line of multiline values

Parameters

$string

string

Returns

array

Process the array for @include

process(array $data) : array

Parameters

$data

array

Exceptions

\Zend\Config\Exception\RuntimeException if an @include key is found

Returns

array

 Properties

 

Directory of the Java-style properties file

$directory : string

Default