8000
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 7c740e7 commit f76faf8Copy full SHA for f76faf8
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