Cecil

Load extends AbstractStep

Load static files step.

This step is responsible for loading static files from the configured static path. It scans the directory for files, excluding any specified in the configuration. The loaded files are processed to extract metadata such as file type, subtype, modification date, and EXIF data for images. The processed files are then stored in the builder's static collection for further use in the build process.

Table of Contents

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.
getName()  : string
Returns the step name.
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

getName()

Returns the step name.

public getName() : string
Return values
string

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 process() : void
 
On this page

Search results