Zend Framework
3.0
|
Static Public Member Functions | |
static static | fromFile ($filename, $returnConfigObject=false, $useIncludePath=false) |
Read a config from a file. | |
static | fromFiles (array $files, $returnConfigObject=false, $useIncludePath=false) |
Read configuration from multiple files and merge them. | |
static | toFile ($filename, $config) |
Writes a config to a file. | |
static | setReaderPluginManager (ReaderPluginManager $readers) |
Set reader plugin manager. | |
static | getReaderPluginManager () |
Get the reader plugin manager. | |
static | setWriterPluginManager (WriterPluginManager $writers) |
Set writer plugin manager. | |
static | getWriterPluginManager () |
Get the writer plugin manager. | |
static | registerReader ($extension, $reader) |
Set config reader for file extension. | |
static | registerWriter ($extension, $writer) |
Set config writer for file extension. | |
Static Public Attributes | |
static | $readers = null |
static | $writers = null |
Static Protected Attributes | |
static | $extensions |
static | $writerExtensions |
|
static |
Read a config from a file.
string | $filename | |
bool | $returnConfigObject | |
bool | $useIncludePath |
Exception\InvalidArgumentException | |
Exception\RuntimeException |
|
static |
Read configuration from multiple files and merge them.
array | $files | |
bool | $returnConfigObject | |
bool | $useIncludePath |
|
static |
Get the reader plugin manager.
|
static |
Get the writer plugin manager.
|
static |
Set config reader for file extension.
string | $extension | |
string | Reader\ReaderInterface | $reader |
Exception\InvalidArgumentException |
|
static |
Set config writer for file extension.
string | $extension | |
string | Writer\AbstractWriter | $writer |
Exception\InvalidArgumentException |
|
static |
|
static |
|
static |
Writes a config to a file.
string | $filename | |
array | Config | $config |
Exception\RuntimeException | |
Exception\InvalidArgumentException |
|
staticprotected |
|
static |
|
staticprotected |
|
static |