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

Commita5eb5b6

Browse files
committed
Merge branch '4.2' into 4.3
* 4.2: Don't use AppBundle in 4.2
2 parents09877cd +68bb0e3 commita5eb5b6

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

‎workflow.rst‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ like this:
5858
arguments:
5959
-'currentPlace'
6060
supports:
61-
-AppBundle\Entity\BlogPost
61+
-App\Entity\BlogPost
6262
initial_place:draft
6363
places:
6464
-draft
@@ -95,7 +95,7 @@ like this:
9595
<framework:argument>currentPlace</framework:argument>
9696
</framework:marking-store>
9797
98-
<framework:support>AppBundle\Entity\BlogPost</framework:support>
98+
<framework:support>App\Entity\BlogPost</framework:support>
9999
100100
<framework:place>draft</framework:place>
101101
<framework:place>reviewed</framework:place>
@@ -137,7 +137,7 @@ like this:
137137
'type' => 'multiple_state', // or 'single_state'
138138
'arguments' => ['currentPlace']
139139
],
140-
'supports' => ['AppBundle\Entity\BlogPost'],
140+
'supports' => ['App\Entity\BlogPost'],
141141
'places' => [
142142
'draft',
143143
'reviewed',
@@ -197,7 +197,7 @@ As configured, the following property is used by the marking store::
197197
With this workflow named ``blog_publishing``, you can get help to decide
198198
what actions are allowed on a blog post::
199199

200-
$post = newAppBundle\Entity\BlogPost();
200+
$post = newApp\Entity\BlogPost();
201201

202202
$workflow = $this->container->get('workflow.blog_publishing');
203203
$workflow->can($post, 'publish'); // False
@@ -365,7 +365,7 @@ missing a title::
365365
{
366366
public function guardReview(GuardEvent $event)
367367
{
368-
/** @varAppBundle\Entity\BlogPost $post */
368+
/** @varApp\Entity\BlogPost $post */
369369
$post = $event->getSubject();
370370
$title = $post->title;
371371

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp