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 224d69d commit 6c81903Copy full SHA for 6c81903
src/CompilerPass/PublicServicePass.php
@@ -24,7 +24,11 @@ public function __construct($regex = '|.*|')
24
$this->regex = $regex;
25
}
26
27
- public function process(ContainerBuilder $container) {
+ /**
28
+ * @param ContainerBuilder $container
29
+ */
30
+ public function process(ContainerBuilder $container)
31
+ {
32
foreach ($container->getDefinitions() as $id => $definition) {
33
if (preg_match($this->regex, $id)) {
34
$definition->setPublic(true);
0 commit comments