Copied!

WorkflowRegistryInterface

WorkflowRegistryInterface.php : 13

Methods

publicgetSupportedWorkflow()

WorkflowRegistryInterface.php : 60
public getSupportedWorkflow(string $identifier, mixed $subject) : Workflow

Parameters

Name Type Default value Description
$identifier string - -
$subject mixed - -

Return values

Workflow

publicgetSupportedWorkflows()

WorkflowRegistryInterface.php : 36
public getSupportedWorkflows(mixed $subject) : array<string|int, Workflow>

Parameters

Name Type Default value Description
$subject mixed - -

Return values

array<string|int, Workflow>

publicgetWorkflow()

WorkflowRegistryInterface.php : 52
public getWorkflow(string $identifier) : Workflow

Parameters

Name Type Default value Description
$identifier string - -

Return values

Workflow

Tags
Throws
NotFoundException

publicgetWorkflows()

WorkflowRegistryInterface.php : 29
public getWorkflows() : array<string|int, Workflow>

Return values

array<string|int, Workflow>

publichasWorkflow()

WorkflowRegistryInterface.php : 43
public hasWorkflow(string $identifier) : bool

Parameters

Name Type Default value Description
$identifier string - -

Return values

bool

publicsetWorkflow()

WorkflowRegistryInterface.php : 19
public setWorkflow(string $identifier, Workflow $workflow) : void

Parameters

Name Type Default value Description
$identifier string - -
$workflow Workflow - -

publicsetWorkflows()

WorkflowRegistryInterface.php : 24
public setWorkflows(array<string|int, Workflow$workflows) : void

Parameters

Name Type Default value Description
$workflows array<string|int, Workflow> - -