Skip to content

Commit 9acf1e7

Browse files
committed
Minor config class tweaks.
1 parent bf7e74f commit 9acf1e7

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

src/Config/ConfigLoader.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
use PPI\Framework\Config\Loader\IniFileLoader;
1616
use PPI\Framework\Config\Loader\PhpFileLoader;
1717
use PPI\Framework\Config\Loader\YamlFileLoader;
18+
use Symfony\Component\Config\Loader\LoaderInterface;
1819
use Symfony\Component\Config\Loader\LoaderResolver;
1920

2021
/**
@@ -62,7 +63,7 @@ public function load($resource, $type = null)
6263
*
6364
* @return DelegatingLoader The loader
6465
*/
65-
protected function getLoader()
66+
public function getLoader()
6667
{
6768
if (null === $this->loader) {
6869
$locator = new FileLocator($this->paths);

src/Config/Loader/YamlFileLoader.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
use Symfony\Component\Config\Loader\FileLoader;
1414
use Symfony\Component\Yaml\Parser as YamlParser;
1515
use Zend\Stdlib\ArrayUtils;
16+
use \InvalidArgumentException;
1617

1718
/**
1819
* YamlFileLoader loads app configuration from a YAML file.

0 commit comments

Comments
 (0)