forked from symfony/symfony
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feature symfony#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 symfony#52814 Commits ------- 19abb99 [Workflow] Add `getEnabledTransition()` method annotation to WorkflowInterface
- Loading branch information
Showing
3 changed files
with
14 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
UPGRADE FROM 7.0 to 7.1 | ||
======================= | ||
|
||
Workflow | ||
-------- | ||
|
||
* Add method `getEnabledTransition()` to `WorkflowInterface` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,11 @@ | ||
CHANGELOG | ||
========= | ||
|
||
7.1 | ||
--- | ||
|
||
* Add method `getEnabledTransition()` to `WorkflowInterface` | ||
|
||
7.0 | ||
--- | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,6 +19,8 @@ | |
* Describes a workflow instance. | ||
* | ||
* @author Amrouche Hamza <[email protected]> | ||
* | ||
* @method Transition|null getEnabledTransition(object $subject, string $name) | ||
*/ | ||
interface WorkflowInterface | ||
{ | ||
|