final class LegacyPostProcessor implements PostProcessorInterface (View source)

Properties

private ProcessorInterface $implementation

Methods

__construct(ProcessorInterface $implementation)

Initialize the instance.

$this
readConfiguration(Repository $config)

Initialize the processor from the configured values.

int
getPostProcessPriority()

Get the priority of this post-processor.

bool
shouldPostProcess(ImportingFile $file, ImportOptions $options, Version $importedVersion)

Check if this post-processor should process an imported file.

postProcess(ImportingFile $file, ImportOptions $options, Version $importedVersion)

Post-process am imported file.

Details

__construct(ProcessorInterface $implementation)

Initialize the instance.

Parameters

ProcessorInterface $implementation

$this readConfiguration(Repository $config)

Initialize the processor from the configured values.

Parameters

Repository $config

Return Value

$this

See also

ProcessorInterface::readConfiguration

int getPostProcessPriority()

Get the priority of this post-processor.

bool shouldPostProcess(ImportingFile $file, ImportOptions $options, Version $importedVersion)

Check if this post-processor should process an imported file.

Parameters

ImportingFile $file
ImportOptions $options
Version $importedVersion

Return Value

bool

See also

PostProcessorInterface::shouldPostProcess

postProcess(ImportingFile $file, ImportOptions $options, Version $importedVersion)

Post-process am imported file.

Parameters

ImportingFile $file
ImportOptions $options
Version $importedVersion

See also

PostProcessorInterface::postProcess