8000 minor #11547 [Workflow] Remove duplicate code in example (welcoMattic) · symfony/symfony-docs@9b9e98f · GitHub
[go: up one dir, main page]

Skip to content

Commit 9b9e98f

Browse files
committed
minor #11547 [Workflow] Remove duplicate code in example (welcoMattic)
This PR was merged into the 4.2 branch. Discussion ---------- [Workflow] Remove duplicate code in example <!-- If your pull request fixes a BUG, use the oldest maintained branch that contains the bug (see https://symfony.com/roadmap for the list of maintained branches). If your pull request documents a NEW FEATURE, use the same Symfony branch where the feature was introduced (and `master` for features of unreleased versions). --> Commits ------- a647732 Remove duplicate code in example
2 parents 292c201 + a647732 commit 9b9e98f

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

workflow.rst

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -613,11 +613,6 @@ Then you can access this metadata in your controller as follows::
613613
->getWorkflowMetadata()['title'] ?? false
614614
;
615615

616-
// or
617-
$title = $workflow->getMetadataStore()
618-
->getWorkflowMetadata()['title'] ?? false
619-
;
620-
621616
// or
622617
$aTransition = $workflow->getDefinition()->getTransitions()[0];
623618
$transitionTitle = $workflow

0 commit comments

Comments
 (0)
0