We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7f21960 commit cf6cfcaCopy full SHA for cf6cfca
README.md
@@ -18,6 +18,8 @@ use Symfony\Component\DependencyInjection\ContainerBuilder;
18
19
$containerBuilder = new ContainerBuilder();
20
21
+$srcDirs = ['path/to/classes']; // the path(s) to your classes which contain annotations
22
+
23
$containerBuilder->addCompilerPass(AnnotationPass::createDefault($srcDirs));
24
```
25
0 commit comments