interface ProcessorInterface (View source)

The interface that file processors should implement.

Methods

bool
shouldProcess(Version $version)

Should this processor process a specific file version?

process(Version $version)

Process a specific file version.

Details

bool shouldProcess(Version $version)

Should this processor process a specific file version?

Parameters

Version $version

Return Value

bool

process(Version $version)

Process a specific file version.

Parameters

Version $version

Exceptions

Exception