diff --git a/src/Config/Loader/YamlLoader.php b/src/Config/Loader/YamlLoader.php index 7125321..2dba8b3 100644 --- a/src/Config/Loader/YamlLoader.php +++ b/src/Config/Loader/YamlLoader.php @@ -15,7 +15,7 @@ class YamlLoader extends FileLoader */ public function load($resource, $type = null) { - return Yaml::parse($resource); + return Yaml::parse(file_get_contents($resource)); } /**