We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7ab71ba commit 9388629Copy full SHA for 9388629
workflow.rst
@@ -317,6 +317,8 @@ workflow leaves a place::
317
318
class WorkflowLogger implements EventSubscriberInterface
319
{
320
+ private $logger;
321
+
322
public function __construct(LoggerInterface $logger)
323
324
$this->logger = $logger;
@@ -602,6 +604,8 @@ requires:
602
604
603
605
Then you can access this metadata in your controller as follows::
606
607
+ use Symfony\Component\Workflow\Registry;
608
609
public function myController(Registry $registry, Article $article)
610
611
$workflow = $registry->get($article);
0 commit comments