Skip to content
This repository has been archived by the owner on Jan 8, 2020. It is now read-only.

added missing "JavaProperties" into Zend\Config\ReaderPluginManager and register the extension into Factory #6628

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
9 changes: 5 additions & 4 deletions library/Zend/Config/Factory.php
Expand Up @@ -34,10 +34,11 @@ class Factory
* @var array
*/
protected static $extensions = array(
'ini' => 'ini',
'json' => 'json',
'xml' => 'xml',
'yaml' => 'yaml',
'ini' => 'ini',
'json' => 'json',
'xml' => 'xml',
'yaml' => 'yaml',
'properties' => 'javaproperties',
);

/**
Expand Down
9 changes: 5 additions & 4 deletions library/Zend/Config/ReaderPluginManager.php
Expand Up @@ -19,10 +19,11 @@ class ReaderPluginManager extends AbstractPluginManager
* @var array
*/
protected $invokableClasses = array(
'ini' => 'Zend\Config\Reader\Ini',
'json' => 'Zend\Config\Reader\Json',
'xml' => 'Zend\Config\Reader\Xml',
'yaml' => 'Zend\Config\Reader\Yaml',
'ini' => 'Zend\Config\Reader\Ini',
'json' => 'Zend\Config\Reader\Json',
'xml' => 'Zend\Config\Reader\Xml',
'yaml' => 'Zend\Config\Reader\Yaml',
'javaproperties' => 'Zend\Config\Reader\JavaProperties',
);

/**
Expand Down