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

Inheritance diagram for SmalldbDefinitionBag

Public Member Functions

 __construct ()
 
 getDefinition (string $machineType)
 Get the definition of the state machine. More...
 
 hasDefinition (string $machineType)
 
 getAllDefinitions ()
 
 getAllAliases ()
 
 getAllMachineTypes ()
 
 addDefinition (StateMachineDefinition $definition)
 
 addAlias (string $alias, string $machineType)
 

Constructor & Destructor Documentation

◆ __construct()

__construct ( )

Member Function Documentation

◆ getDefinition()

getDefinition ( string  $machineType)

Get the definition of the state machine.

Implements SmalldbDefinitionBagInterface.

◆ hasDefinition()

hasDefinition ( string  $machineType)

◆ getAllDefinitions()

getAllDefinitions ( )
Returns
StateMachineDefinition[]

Implements SmalldbDefinitionBagInterface.

◆ getAllAliases()

getAllAliases ( )
Returns
string[]

Implements SmalldbDefinitionBagInterface.

◆ getAllMachineTypes()

getAllMachineTypes ( )
Returns
string[]

Implements SmalldbDefinitionBagInterface.

◆ addDefinition()

addDefinition ( StateMachineDefinition  $definition)

◆ addAlias()

addAlias ( string  $alias,
string  $machineType 
)