JSON 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

Process the array for @include

process(array $data) : array

Parameters

$data

array

Exceptions

\Zend\Config\Exception\RuntimeException

Returns

array

 Properties

 

Directory of the JSON file

$directory : string