Update working-with-associations.rst
removed some spaces that had come into it while editing last commit
This commit is contained in:
parent
9c19d1e5c4
commit
128e83909b
@ -41,7 +41,7 @@ information about its type and if it's the owning or inverse side.
|
||||
/**
|
||||
* Bidirectional - Many users have Many favorite comments (OWNING SIDE)
|
||||
*
|
||||
* @ManyToMany(targetEntity="Comment", inversedBy="userFavorites")
|
||||
* @ManyToMany(targetEntity="Comment", inversedBy="userFavorites")
|
||||
* @JoinTable(name="user_favorite_comments")
|
||||
*/
|
||||
private $favorites;
|
||||
@ -49,7 +49,7 @@ information about its type and if it's the owning or inverse side.
|
||||
/**
|
||||
* Unidirectional - Many users have marked many comments as read
|
||||
*
|
||||
* @ManyToMany(targetEntity="Comment")
|
||||
* @ManyToMany(targetEntity="Comment")
|
||||
* @JoinTable(name="user_read_comments")
|
||||
*/
|
||||
private $commentsRead;
|
||||
|
Loading…
x
Reference in New Issue
Block a user