From 0958cb9fe20c120d90377aa26d4f941a918814a2 Mon Sep 17 00:00:00 2001 From: Ruben Date: Sun, 4 Sep 2016 13:41:44 +0100 Subject: [PATCH] Exclude target level in JOSN --- src/Models/Target.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Models/Target.php b/src/Models/Target.php index 4649515..57e5bdd 100644 --- a/src/Models/Target.php +++ b/src/Models/Target.php @@ -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;