libSmalldb  v2.0.2
Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
LambdaProvider Class Reference

Inheritance diagram for LambdaProvider

Public Member Functions

 __construct (?string $machineType=null, ?string $referenceClass=null, ?callable $definitionFactory=null, ?callable $transitionsDecoratorFactory=null, ?callable $repositoryFactory=null)
 
 setDefinitionFactory (callable $definitionFactory)
 
 setRepositoryFactory (callable $repositoryFactory)
 
 setTransitionsDecoratorFactory (callable $transitionsDecoratorFactory)
 
 provideRepository ()
 
 setReferenceClass (string $referenceClass)
 
 getReferenceClass ()
 
 setDefinition (?StateMachineDefinition $definition)
 
 setDefinitionBag (SmalldbDefinitionBagInterface $definitionBag)
 
 setMachineType (string $machineType)
 
 getMachineType ()
 
 getDefinition ()
 
 setTransitionsDecorator (?TransitionDecorator $transitionsDecorator)
 
 getTransitionsDecorator ()
 
 setRepository (?SmalldbRepositoryInterface $repository)
 
 getRepository ()
 

Static Public Member Functions

static createWithDefinitionBag (string $machineType, string $referenceClass, SmalldbDefinitionBagInterface $definitionBag, ?callable $transitionsDecoratorFactory, ?callable $repositoryFactory)
 
static createWithDefinitionBagFactory (string $machineType, string $referenceClass, ?callable $definitionBagFactory, ?callable $transitionsDecoratorFactory, ?callable $repositoryFactory)
 

Protected Member Functions

 provideDefinition ()
 
 provideTransitionsImplementation ()
 

Protected Attributes

SmalldbDefinitionBagInterface $definitionBag = null
 
StateMachineDefinition $definition = null
 
TransitionDecorator $transitionsDecorator = null
 
SmalldbRepositoryInterface $repository = null
 

Constructor & Destructor Documentation

◆ __construct()

__construct ( ?string  $machineType = null,
?string  $referenceClass = null,
?callable  $definitionFactory = null,
?callable  $transitionsDecoratorFactory = null,
?callable  $repositoryFactory = null 
)

Member Function Documentation

◆ createWithDefinitionBag()

static createWithDefinitionBag ( string  $machineType,
string  $referenceClass,
SmalldbDefinitionBagInterface  $definitionBag,
?callable  $transitionsDecoratorFactory,
?callable  $repositoryFactory 
)
static

◆ createWithDefinitionBagFactory()

static createWithDefinitionBagFactory ( string  $machineType,
string  $referenceClass,
?callable  $definitionBagFactory,
?callable  $transitionsDecoratorFactory,
?callable  $repositoryFactory 
)
static

◆ setDefinitionFactory()

setDefinitionFactory ( callable  $definitionFactory)

◆ setRepositoryFactory()

setRepositoryFactory ( callable  $repositoryFactory)

◆ setTransitionsDecoratorFactory()

setTransitionsDecoratorFactory ( callable  $transitionsDecoratorFactory)

◆ provideDefinition()

provideDefinition ( )
protected

◆ provideTransitionsImplementation()

provideTransitionsImplementation ( )
protected

◆ provideRepository()

provideRepository ( )

◆ setReferenceClass()

setReferenceClass ( string  $referenceClass)
inherited

◆ getReferenceClass()

getReferenceClass ( )
inherited

◆ setDefinition()

setDefinition ( ?StateMachineDefinition  $definition)
finalinherited
Returns
$this

◆ setDefinitionBag()

setDefinitionBag ( SmalldbDefinitionBagInterface  $definitionBag)
finalinherited
Returns
$this

◆ setMachineType()

setMachineType ( string  $machineType)
finalinherited
Returns
$this

◆ getMachineType()

getMachineType ( )
finalinherited

◆ getDefinition()

getDefinition ( )
finalinherited

◆ setTransitionsDecorator()

setTransitionsDecorator ( ?TransitionDecorator  $transitionsDecorator)
finalinherited
Returns
$this

◆ getTransitionsDecorator()

getTransitionsDecorator ( )
finalinherited

◆ setRepository()

setRepository ( ?SmalldbRepositoryInterface  $repository)
finalinherited
Returns
$this

◆ getRepository()

getRepository ( )
finalinherited

Member Data Documentation

◆ $definitionBag

SmalldbDefinitionBagInterface $definitionBag = null
protectedinherited

◆ $definition

StateMachineDefinition $definition = null
protectedinherited

◆ $transitionsDecorator

TransitionDecorator $transitionsDecorator = null
protectedinherited

◆ $repository

SmalldbRepositoryInterface $repository = null
protectedinherited