class ProcessorManager (View source)

Properties

private ProcessorInterface[] $registeredProcessors

The list of registered processors.

private ValidatorInterface[]|null $validators

The list of validators.

private PreProcessorInterface[]|null $preProcessors

The list of pre-processors.

private PostProcessorInterface[]|null $postProcessors

The list of post-processors.

Methods

$this
registerProcessor(ProcessorInterface $processor)

Register a processor.

$this
unregisterProcessor(ProcessorInterface $processor)

Unregister a registered processor.

getRegisteredProcessors()

Get the list of all registered processors.

getValidators()

Get the list of registered validators.

getPreProcessors()

Get the list of registered pre-processors.

getPostProcessors()

Get the list of registered post-processors.

Details

$this registerProcessor(ProcessorInterface $processor)

Register a processor.

Parameters

ProcessorInterface $processor

Return Value

$this

$this unregisterProcessor(ProcessorInterface $processor)

Unregister a registered processor.

Parameters

ProcessorInterface $processor

Return Value

$this

ProcessorInterface[] getRegisteredProcessors()

Get the list of all registered processors.

Return Value

ProcessorInterface[]

ValidatorInterface[] getValidators()

Get the list of registered validators.

Return Value

ValidatorInterface[]

PreProcessorInterface[] getPreProcessors()

Get the list of registered pre-processors.

Return Value

PreProcessorInterface[]

PostProcessorInterface[] getPostProcessors()

Get the list of registered post-processors.

Return Value

PostProcessorInterface[]