1
0
mirror of synced 2025-02-09 00:39:25 +03:00

Moved explanation out of PHP-Codeblock...

...to make it visible for XML and YML too.
This commit is contained in:
Thomas Landauer 2017-10-11 22:45:42 +02:00 committed by GitHub
parent aea970722e
commit 436b15e873

View File

@ -33,7 +33,7 @@ inverse sides of associations <unitofwork-associations>`
Many-To-One, Unidirectional
---------------------------
A many-to-one association is the most common association between objects.
A many-to-one association is the most common association between objects. Example: Many Users have One Address:
.. configuration-block::
@ -46,7 +46,6 @@ A many-to-one association is the most common association between objects.
// ...
/**
* Many Users have One Address.
* @ManyToOne(targetEntity="Address")
* @JoinColumn(name="address_id", referencedColumnName="id")
*/