Skip to content

Commit 6a04b0a

Browse files
Add phpdoc about exception
1 parent f642a9c commit 6a04b0a

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

WorkflowInterface.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
namespace Symfony\Component\Workflow;
1313

1414
use Symfony\Component\Workflow\Exception\LogicException;
15+
use Symfony\Component\Workflow\Exception\UndefinedTransitionException;
1516
use Symfony\Component\Workflow\MarkingStore\MarkingStoreInterface;
1617
use Symfony\Component\Workflow\Metadata\MetadataStoreInterface;
1718

@@ -38,6 +39,8 @@ public function can(object $subject, string $transitionName): bool;
3839

3940
/**
4041
* Builds a TransitionBlockerList to know why a transition is blocked.
42+
*
43+
* @throws UndefinedTransitionException If the transition is not defined
4144
*/
4245
public function buildTransitionBlockerList(object $subject, string $transitionName): TransitionBlockerList;
4346

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy