A file that can be extended by different artifacts.

An extended file is a \FeaturePhp\File\File generated by a \FeaturePhp\Generator\ExtendGenerator. For concrete implementations, see \FeaturePhp\File\ChunkFile or \FeaturePhp\File\TemplateFile.

package Default

 Methods

Extends the file.

extend(\FeaturePhp\Specification\Specification $specification) : array<mixed,\FeaturePhp\Place\Place>

This is expected to be called only be a \FeaturePhp\Generator\ExtendGenerator.

Parameters

$specification

\FeaturePhp\Specification\Specification

Returns

array<mixed,\FeaturePhp\Place\Place>modified places in the target file