WorkflowExtension
class WorkflowExtension extends AbstractExtension
WorkflowExtension.
Methods
getFunctions()
No description
bool
canTransition(object $subject, string $transitionName, string $name = null)
Returns true if the transition is enabled.
getEnabledTransitions(object $subject, string $name = null)
Returns all enabled transitions.
bool
hasMarkedPlace(object $subject, string $placeName, string $name = null)
Returns true if the place is marked.
string[]|int[]
getMarkedPlaces(object $subject, bool $placesNameOnly = true, string $name = null)
Returns marked places.
string|null
getMetadata($subject, string $key, $metadataSubject = null, string $name = null)
Returns the metadata for a specific subject.
getName()
No description
Details
bool
canTransition(object $subject, string $transitionName, string $name = null)
Returns true if the transition is enabled.
Transition[]
getEnabledTransitions(object $subject, string $name = null)
Returns all enabled transitions.
bool
hasMarkedPlace(object $subject, string $placeName, string $name = null)
Returns true if the place is marked.
string[]|int[]
getMarkedPlaces(object $subject, bool $placesNameOnly = true, string $name = null)
Returns marked places.