Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions workflow.rst
Original file line number Diff line number Diff line change
Expand Up @@ -197,8 +197,8 @@ As configured, the following property is used by the marking store::
With this workflow named ``blog_publishing``, you can get help to decide
what actions are allowed on a blog post::

use Symfony\Component\Workflow\Exception\LogicException;
use App\Entity\BlogPost;
use Symfony\Component\Workflow\Exception\LogicException;

$post = BlogPost();

Expand Down Expand Up @@ -680,8 +680,8 @@ requires:

Then you can access this metadata in your controller as follows::

use Symfony\Component\Workflow\Registry;
use App\Entity\BlogPost;
use Symfony\Component\Workflow\Registry;

public function myController(Registry $registry, BlogPost $post)
{
Expand Down