Skip to content

Commit cf6cfca

Browse files
author
christianblos
committed
updated readme
1 parent 7f21960 commit cf6cfca

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

README.md

+2
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@ use Symfony\Component\DependencyInjection\ContainerBuilder;
1818

1919
$containerBuilder = new ContainerBuilder();
2020

21+
$srcDirs = ['path/to/classes']; // the path(s) to your classes which contain annotations
22+
2123
$containerBuilder->addCompilerPass(AnnotationPass::createDefault($srcDirs));
2224
```
2325

0 commit comments

Comments
 (0)