Copied!

AbstractStepExecutor

AbstractStepExecutor.php : 29
Implements StepExecutorInterface, UserContextAwareStepExecutorInterface, ServiceSubscriberInterface
Uses ServiceSubscriberTrait, UserContextAwareStepExecutorTrait

Common class for Step executors.

Properties

protected $container

ServiceSubscriberTrait.php : 26
protected ContainerInterface $container

Methods

publicgetSubscribedServices()

AbstractStepExecutor.php : 95

Returns an array of service types required by such instances, optionally keyed by the service names used internally.

public static getSubscribedServices() : array<string|int, string>|array<string, string>

Return values

array<string|int, string>|array<string, string>

publichandle()

AbstractStepExecutor.php : 34
public final handle(StepInterface $step) : void

Parameters

Name Type Default value Description
$step StepInterface - -

publicsetContainer()

ServiceSubscriberTrait.php : 99
public setContainer(ContainerInterface $container) : ContainerInterface|null

Parameters

Name Type Default value Description
$container ContainerInterface - -

Return values

ContainerInterface|null

Tags
Required

protecteddoCollectReferences()

AbstractStepExecutor.php : 74
protected final doCollectReferences(ReferenceAwareStepInterface $step, ValueObject|array<string|int, ValueObject>|null $executionResults) : void

Parameters

Name Type Default value Description
$step ReferenceAwareStepInterface - -
$executionResults ValueObject|array<string|int, ValueObject>|null - -

protecteddoHandle()

AbstractStepExecutor.php : 68
protected abstract doHandle(StepInterface $step) : ValueObject|array<string|int, ValueObject>|null

Parameters

Name Type Default value Description
$step StepInterface - -

Return values

ValueObject|array<string|int, ValueObject>|null

protectedhandleActions()

AbstractStepExecutor.php : 129
protected handleActions(ActionsAwareStepInterface $step, ValueObject|array<string|int, ValueObject>|null $executionResult) : void

Parameters

Name Type Default value Description
$step ActionsAwareStepInterface - -
$executionResult ValueObject|array<string|int, ValueObject>|null - -