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

Commit94d17de

Browse files
committed
Simplify the English and turn it into a tip
1 parent40fbaf3 commit94d17de

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

‎workflow/usage.rst‎

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -694,8 +694,12 @@ Metadata can also be accessed in a Listener, from the Event object.
694694
Using transition blockers you can
695695
return a user-friendly error message when you stop a transition from happening. In the example we
696696
get this message from the:class:`Symfony\\Component\\Workflow\\Event\\Event`'s metadata, giving
697-
you an easy place to manage the text. This is a contrived example; in production code you may
698-
prefer to use the:doc:`Translation</components/translation>` component to manage messages::
697+
you an easy place to manage the text.
698+
699+
..tip::
700+
701+
This is a simple example; in production you may prefer to use the:doc:`Translation</components/translation>`
702+
component to manage messages in one place::
699703

700704
namespace App\Listener\Workflow\Task;
701705

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp