Cecil

AbstractStep implements StepInterface

AbstractYes

Abstract step class.

This class provides a base implementation for steps in the build process. It implements the StepInterface and provides common functionality such as initialization, checking if the step can be processed, and a constructor that accepts a Builder instance.

Table of Contents

Interfaces

StepInterface
Step interface.

Properties

$builder  : Builder
$canProcess  : bool
$config  : Config
$options  : Builder::OPTIONS
Configuration options for the step.

Methods

__construct()  : mixed
StepInterface constructor.
canProcess()  : bool
Method to know if the step can be processed.
init()  : void
This method is called before the step is processed to initialize the step with necessary options and to determine if it can be executed.
process()  : void
Process implementation.

Properties

$options

Configuration options for the step.

protected Builder::OPTIONS $options

Methods

canProcess()

Method to know if the step can be processed.

public canProcess() : bool

If init() is used, true by default.

Return values
bool

init()

This method is called before the step is processed to initialize the step with necessary options and to determine if it can be executed.

public init(array<string|int, mixed> $options) : void
Parameters
$options : array<string|int, mixed>

process()

Process implementation.

public abstract process() : void
 
On this page

Search results