Copied!

WorkflowRegistryInterface

WorkflowRegistryInterface.php : 13
Interface

Methods

publicgetSupportedWorkflow()

WorkflowRegistryInterface.php : 39
public getSupportedWorkflow(string $identifier, object $subject) : WorkflowInterface

Parameters

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

Return values

WorkflowInterface

publicgetSupportedWorkflows()

WorkflowRegistryInterface.php : 30
public getSupportedWorkflows(object $subject) : array<string|int, WorkflowInterface>

Parameters

Name Type Default value Description
$subject object - -

Return values

array<string|int, WorkflowInterface>

publicgetWorkflow()

WorkflowRegistryInterface.php : 37
public getWorkflow(string $identifier) : WorkflowInterface

Parameters

Name Type Default value Description
$identifier string - -

Return values

WorkflowInterface

Tags
Throws
NotFoundException

publicgetWorkflows()

WorkflowRegistryInterface.php : 25
public getWorkflows() : array<string|int, WorkflowInterface>

Return values

array<string|int, WorkflowInterface>

publichasWorkflow()

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

Parameters

Name Type Default value Description
$identifier string - -

Return values

bool

publicsetWorkflow()

WorkflowRegistryInterface.php : 15
public setWorkflow(string $identifier, WorkflowInterface $workflow) : void

Parameters

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

publicsetWorkflows()

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

Parameters

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