Skip to content

Commit 19abb99

Browse files
[Workflow] Add getEnabledTransition() method annotation to WorkflowInterface
1 parent e37a378 commit 19abb99

File tree

3 files changed

+14
-0
lines changed

3 files changed

+14
-0
lines changed

UPGRADE-7.1.md

+7
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

+5
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

+2
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)