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 2a89649 commit a94be60Copy full SHA for a94be60
src/Symfony/Component/DependencyInjection/Loader/Configurator/ContainerConfigurator.php
@@ -20,6 +20,7 @@
20
use Symfony\Component\DependencyInjection\Exception\InvalidArgumentException;
21
use Symfony\Component\DependencyInjection\Extension\ExtensionInterface;
22
use Symfony\Component\DependencyInjection\Loader\PhpFileLoader;
23
+use Symfony\Component\DependencyInjection\Parameter;
24
use Symfony\Component\ExpressionLanguage\Expression;
25
26
/**
@@ -91,6 +92,14 @@ function ref(string $id): ReferenceConfigurator
91
92
return new ReferenceConfigurator($id);
93
}
94
95
+/**
96
+ * Creates a parameter.
97
+ */
98
+function param(string $id): Parameter
99
+{
100
+ return new Parameter($id);
101
+}
102
+
103
104
* Creates an inline service.
105
*
0 commit comments