Exclude target level in JOSN

This commit is contained in:
Ruben 2016-09-04 13:41:44 +01:00
parent 4411576d16
commit 0958cb9fe2

View file

@ -35,6 +35,7 @@ class Target
/**
* @ORM\ManyToOne(targetEntity="Level", inversedBy="targets", cascade={"persist"})
* @ORM\JoinColumn(name="level_id", referencedColumnName="id", nullable=false)
* @JMS\Exclude
*/
private $level;