File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -247,7 +247,7 @@ looking for mapping information::
247247
248248 /**
249249 * @ORM\OneToMany(
250- * targetEntity="Comment",
250+ * targetEntity="App\Entity\ Comment",
251251 * mappedBy="post",
252252 * orphanRemoval=true
253253 * )
Original file line number Diff line number Diff line change @@ -469,7 +469,7 @@ you will learn about next!).
469469 // ...
470470
471471 /**
472- * @ORM\ManyToMany(targetEntity="Tag", cascade={"persist"})
472+ * @ORM\ManyToMany(targetEntity="App\Entity\ Tag", cascade={"persist"})
473473 */
474474 protected $tags;
475475
@@ -481,7 +481,7 @@ you will learn about next!).
481481 # ...
482482 oneToMany :
483483 tags :
484- targetEntity : Tag
484+ targetEntity : App\Entity\ Tag
485485 cascade : [persist]
486486
487487 .. code-block :: xml
Original file line number Diff line number Diff line change @@ -200,7 +200,7 @@ Consider this example:
200200 class Service
201201 {
202202 /**
203- * @ORM\ManyToOne(targetEntity="Host")
203+ * @ORM\ManyToOne(targetEntity="App\Entity\ Host")
204204 */
205205 public $host;
206206
You can’t perform that action at this time.
0 commit comments