Copied!

WorkflowRegistryInterface

WorkflowRegistryInterface.php : 14
Interface

Methods

publicgetSupportedWorkflow()

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

Parameters

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

Return values

Workflow

Tags
Throws
NotFoundException

publicgetSupportedWorkflows()

WorkflowRegistryInterface.php : 40
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 : 56
public getWorkflow(string $identifier) : Workflow

Parameters

Name Type Default value Description
$identifier string - -

Return values

Workflow

Tags
Throws
NotFoundException

publicgetWorkflows()

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

Return values

array<string|int, Workflow>

publichasWorkflow()

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

Parameters

Name Type Default value Description
$identifier string - -

Return values

bool

publicsetWorkflow()

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

Parameters

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

publicsetWorkflows()

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

Parameters

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