mirror of
https://github.com/kevinveenbirkenbach/infinito.git
synced 2025-09-13 13:57:10 +02:00
Added draft for LawController
This commit is contained in:
@@ -11,14 +11,6 @@ use Doctrine\Common\Collections\Collection;
|
||||
trait ParentsAttribut
|
||||
{
|
||||
/**
|
||||
* Many Nodes have many parents.
|
||||
*
|
||||
* @ORM\ManyToMany(targetEntity="Node")
|
||||
* @ORM\JoinTable(name="nodes_parents",
|
||||
* joinColumns={@ORM\JoinColumn(name="node_id", referencedColumnName="id")},
|
||||
* inverseJoinColumns={@ORM\JoinColumn(name="node_id", referencedColumnName="id")}
|
||||
* )
|
||||
*
|
||||
* @var Collection|NodeInterface[]
|
||||
*/
|
||||
protected $parents;
|
||||
|
Reference in New Issue
Block a user