Overview

Namespaces

  • Mothership
    • Exception
      • StateMachine
    • StateMachine

Classes

  • StateMachineAbstract
  • Status
  • Transition
  • WorkflowAbstract

Interfaces

  • StateMachineInterface
  • StatusInterface
  • TransitionInterface
  • WorkflowInterface
  • Overview
  • Namespace
  • Class

Interface TransitionInterface

Direct known implementers

Mothership\StateMachine\Transition
Namespace: Mothership\StateMachine
Located at Mothership/StateMachine/TransitionInterface.php
Methods summary
public
# __construct( Mothership\StateMachine\StatusInterface $status, $transition_from )
public mixed
# process( )

Execute the transiction

Execute the transiction

Returns

mixed
public mixed
# getTransitionFrom( )

Get the starting point of the transiction

Get the starting point of the transiction

Returns

mixed
public mixed
# getName( )

Is the name of the transiction and the name of the new state a<nd also the method will be execute in the workflow...

Is the name of the transiction and the name of the new state a<nd also the method will be execute in the workflow...

Returns

mixed
public mixed
# getTransitionTo( )

ending point of the transiction

ending point of the transiction

Returns

mixed
public mixed
# getMethodToRun( )

method that will be execute in the workflow

method that will be execute in the workflow

Returns

mixed
public boolean
# hasCondition( )

If the transition has a condition to be executed

If the transition has a condition to be executed

Returns

boolean
public mixed
# getCondition( )

Get the condition to be executed

Get the condition to be executed

Returns

mixed
API documentation generated by ApiGen