Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit1633ff0

Browse files
osavchenkojaviereguiluz
authored andcommitted
change targetEntity format
1 parentd72818d commit1633ff0

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

‎best_practices/business-logic.rst‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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
* )

‎form/form_collections.rst‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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

‎reference/constraints/UniqueEntity.rst‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp