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 d343f59 commit 970d487Copy full SHA for 970d487
src/functions.php
@@ -28,7 +28,7 @@ function cget(ContainerInterface $container, string $id, $default = null, bool $
28
*/
29
function conf(ContainerInterface $container): Config
30
{
31
- return $container->get(Config::app_config);
+ return new Config($container->get(Config::app_config));
32
}
33
34
/**
0 commit comments