Commit 49acb20
committed
minor #15421 [Doctrine] add missing mapping type (PHP Attributes) (xthiago)
This PR was merged into the 5.3 branch.
Discussion
----------
[Doctrine] add missing mapping type (PHP Attributes)
<!--
If your pull request fixes a BUG, use the oldest maintained branch that contains
the bug (see https://symfony.com/releases for the list of maintained branches).
If your pull request documents a NEW FEATURE, use the same Symfony branch where
the feature was introduced (and `5.x` for features of unreleased versions).
-->
Support for [Doctrine ORM 2.9 AttributeDrive was added a time ago](doctrine/DoctrineBundle#1322), but the docs does not mention that possibility yet.
```yaml
doctrine:
orm:
mappings:
Your\Namespace:
type: attribute # <-- HERE
dir: '%kernel.project_dir%/src/Your/Namespace'
prefix: 'Your\Namespace'
alias: YN
```
Commits
-------
8069208 add missing mapping type (PHP Attributes)1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
265 | 265 | | |
266 | 266 | | |
267 | 267 | | |
268 | | - | |
| 268 | + | |
269 | 269 | | |
270 | 270 | | |
271 | 271 | | |
| |||
0 commit comments