Moved explanation out of PHP-Codeblock...
...to make it visible for XML and YML too.
This commit is contained in:
parent
aea970722e
commit
436b15e873
@ -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")
|
||||
*/
|
||||
|
Loading…
x
Reference in New Issue
Block a user