IManager
Interface IManager
Tags
Table of Contents
- EVENT_NAME_REG_CHECK = 'OCP\WorkflowEngine::registerChecks'
- EVENT_NAME_REG_ENTITY = 'OCP\WorkflowEngine::registerEntities'
- EVENT_NAME_REG_OPERATION = 'OCP\WorkflowEngine::registerOperations'
- MAX_CHECK_VALUE_BYTES = 2048
- MAX_OPERATION_VALUE_BYTES = 4096
- SCOPE_ADMIN = 0
- SCOPE_USER = 1
- getRuleMatcher() : IRuleMatcher
- registerCheck() : void
- Listen to `OCP\WorkflowEngine\Events\RegisterChecksEvent` at the IEventDispatcher for registering your operators.
- registerEntity() : void
- Listen to `OCP\WorkflowEngine\Events\RegisterEntitiesEvent` at the IEventDispatcher for registering your entities.
- registerOperation() : void
- Listen to `OCP\WorkflowEngine\Events\RegisterOperationsEvent` at the IEventDispatcher for registering your operators.
Constants
EVENT_NAME_REG_CHECK
public
mixed
EVENT_NAME_REG_CHECK
= 'OCP\WorkflowEngine::registerChecks'
EVENT_NAME_REG_ENTITY
public
mixed
EVENT_NAME_REG_ENTITY
= 'OCP\WorkflowEngine::registerEntities'
EVENT_NAME_REG_OPERATION
public
mixed
EVENT_NAME_REG_OPERATION
= 'OCP\WorkflowEngine::registerOperations'
Tags
MAX_CHECK_VALUE_BYTES
public
mixed
MAX_CHECK_VALUE_BYTES
= 2048
Tags
MAX_OPERATION_VALUE_BYTES
public
mixed
MAX_OPERATION_VALUE_BYTES
= 4096
Tags
SCOPE_ADMIN
public
mixed
SCOPE_ADMIN
= ""
SCOPE_USER
public
mixed
SCOPE_USER
= 1
Methods
getRuleMatcher()
public
getRuleMatcher() : IRuleMatcher
Tags
Return values
IRuleMatcher —registerCheck()
Listen to `OCP\WorkflowEngine\Events\RegisterChecksEvent` at the IEventDispatcher for registering your operators.
public
registerCheck(ICheck $check) : void
Parameters
- $check : ICheck
Tags
registerEntity()
Listen to `OCP\WorkflowEngine\Events\RegisterEntitiesEvent` at the IEventDispatcher for registering your entities.
public
registerEntity(IEntity $entity) : void
Parameters
- $entity : IEntity
Tags
registerOperation()
Listen to `OCP\WorkflowEngine\Events\RegisterOperationsEvent` at the IEventDispatcher for registering your operators.
public
registerOperation(IOperation $operator) : void
Parameters
- $operator : IOperation