Skip to content

Commit 229cbf2

Browse files
committed
feature #52854 [Workflow] Add getEnabledTransition() method annotation to WorkflowInterface (alexandre-daubois)
This PR was merged into the 7.1 branch. Discussion ---------- [Workflow] Add `getEnabledTransition()` method annotation to WorkflowInterface | Q | A | ------------- | --- | Branch? | 7.1 | Bug fix? | no | New feature? | yes | Deprecations? | yes | Issues | - | License | MIT Followup of #52814 Commits ------- 19abb99 [Workflow] Add `getEnabledTransition()` method annotation to WorkflowInterface
2 parents ecc628a + 19abb99 commit 229cbf2

File tree

3 files changed

+14
-0
lines changed

3 files changed

+14
-0
lines changed

UPGRADE-7.1.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
UPGRADE FROM 7.0 to 7.1
2+
=======================
3+
4+
Workflow
5+
--------
6+
7+
* Add method `getEnabledTransition()` to `WorkflowInterface`

src/Symfony/Component/Workflow/CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
CHANGELOG
22
=========
33

4+
7.1
5+
---
6+
7+
* Add method `getEnabledTransition()` to `WorkflowInterface`
8+
49
7.0
510
---
611

src/Symfony/Component/Workflow/WorkflowInterface.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@
1919
* Describes a workflow instance.
2020
*
2121
* @author Amrouche Hamza <hamza.simperfit@gmail.com>
22+
*
23+
* @method Transition|null getEnabledTransition(object $subject, string $name)
2224
*/
2325
interface WorkflowInterface
2426
{

0 commit comments

Comments
 (0)