Optimized Entity Draft

This commit is contained in:
Kevin Frantz committed 2018-09-06 14:03:08 +02:00
1 parent 3d42526698
commit f9e44deac4
6 files changed
+15 -11

No files matched your search

@@ -11,8 +11,8 @@ use App\Entity\NodeInterface;
trait NodeAttribut{
/**
* @var NodeInterface
* @OneToOne(targetEntity="Node")
* @JoinColumn(name="source", referencedColumnName="id")
* @ORM\OneToOne(targetEntity="Node")
* @ORM\JoinColumn(name="source", referencedColumnName="id")
*/
protected $node;
@@ -1,5 +1,5 @@
<?php
namespace Entity\Attribut;
namespace App\Entity\Attribut;
use Doctrine\Common\Collections\ArrayCollection;
use App\Entity\NodeInterface;