Skip to content

Commit

Permalink
added manager configuration load in the configuration class
Browse files Browse the repository at this point in the history
  • Loading branch information
Markcial committed Mar 3, 2015
1 parent 243a74d commit 5971754
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/Psy/Configuration.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
use Psy\ExecutionLoop\Loop;
use Psy\Output\OutputPager;
use Psy\Output\ShellOutput;
use Psy\Plugin\Manager;
use Psy\Presenter\PresenterManager;
use Psy\Readline\GNUReadline;
use Psy\Readline\Libedit;
Expand Down Expand Up @@ -74,6 +75,9 @@ class Configuration
*/
public function __construct(array $config = array())
{
// ask the plugin manager for configurations
$config = Manager::getConfiguration($config);

// explicit configFile option
if (isset($config['configFile'])) {
$this->configFile = $config['configFile'];
Expand Down

0 comments on commit 5971754

Please sign in to comment.