Skip to content

Commit 46491a6

Browse files
Update index.md (#2120)
* Update index.md Fix ambiguous choices * fix url
1 parent bfe32af commit 46491a6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

symfony/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -460,7 +460,7 @@ bin/console make:entity --api-resource
460460
```
461461

462462
Doctrine's [attributes](https://www.doctrine-project.org/projects/doctrine-orm/en/current/reference/attributes-reference.html) map these entities to tables in the database.
463-
Mapping through [attributes](https://www.doctrine-project.org/projects/doctrine-orm/en/current/reference/attributes-reference.html) is also supported, if you prefer those.
463+
Mapping through [annotations](https://www.doctrine-project.org/projects/doctrine-annotations/en/current/index.html) is still supported for backward compatibility, but they are considered deprecated and attributes are now the recommended approach.
464464
Both methods are convenient as they allow grouping the code and the configuration but, if you want to decouple classes from their metadata, you can switch to XML or YAML mappings.
465465
They are supported as well.
466466

0 commit comments

Comments
 (0)