libSmalldb  v2.0.2
Public Member Functions | List of all members
TransitionEvent Class Reference

Public Member Functions

 __construct (ReferenceInterface $ref, string $transitionName, array $transitionArgs)
 
 getRef ()
 Reference to a subject state machine. More...
 
 getTransitionName ()
 Name of the transition. More...
 
 getTransitionArgs ()
 Transition arguments. More...
 
 setNewId ($newId)
 ID of the state machine has changed, this is the new ID. More...
 
 hasNewId ()
 Returns true if there is a new ID. More...
 
 getNewId ()
 Get the new ID. More...
 
 getReturnValue ()
 
 setReturnValue ($returnValue)
 

Constructor & Destructor Documentation

◆ __construct()

__construct ( ReferenceInterface  $ref,
string  $transitionName,
array  $transitionArgs 
)

Member Function Documentation

◆ getRef()

getRef ( )

Reference to a subject state machine.

◆ getTransitionName()

getTransitionName ( )

Name of the transition.

◆ getTransitionArgs()

getTransitionArgs ( )

Transition arguments.

◆ setNewId()

setNewId (   $newId)

ID of the state machine has changed, this is the new ID.

◆ hasNewId()

hasNewId ( )

Returns true if there is a new ID.

◆ getNewId()

getNewId ( )

Get the new ID.

The new ID may be null.

◆ getReturnValue()

getReturnValue ( )
Returns
mixed

◆ setReturnValue()

setReturnValue (   $returnValue)
Parameters
mixed$returnValue