We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cb8c078 commit 795abbeCopy full SHA for 795abbe
1 file changed
src/Container/ConfigContainer.php
@@ -73,10 +73,14 @@ public function has(string $id): bool
73
*/
74
public function get(string $id)
75
{
76
- if ($this->isResolvedByContainer($id)) {
+ if ($id === self::class) {
77
return $this;
78
}
79
80
+ if ($this->isResolvedByContainer($id)) {
81
+ return $this->config;
82
+ }
83
+
84
if ($this->config->has($id)) {
85
return $this->config->get($id);
86
0 commit comments