Skip to content

Commit 40fcbd2

Browse files
authored
Doctrine annotations replaced by PHP attributes (#4395)
2 parents 77188b1 + f3fe546 commit 40fcbd2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ Then you need to create `DoctrineOrmMappingPass` and add it as `CompilerPass` in
3333
parent::build($container);
3434

3535
$container->addCompilerPass(
36-
DoctrineOrmMappingsPass::createAnnotationMappingDriver(
36+
DoctrineOrmMappingsPass::createAttributeMappingDriver(
3737
[$this->getNamespace() . '\Entity'],
3838
[$this->getPath() . '/Entity']
3939
)

0 commit comments

Comments
 (0)