Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 229cbf2

Browse filesBrowse 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
Copy full SHA for 229cbf2

File tree

Expand file treeCollapse file tree

3 files changed

+14
-0
lines changed
Filter options
Expand file treeCollapse file tree

3 files changed

+14
-0
lines changed

‎UPGRADE-7.1.md

Copy file name to clipboard
+7Lines 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

Copy file name to clipboardExpand all lines: src/Symfony/Component/Workflow/CHANGELOG.md
+5Lines 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

Copy file name to clipboardExpand all lines: src/Symfony/Component/Workflow/WorkflowInterface.php
+2Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.