A text file generated from a set of roles.
A refined file is a \FeaturePhp\File\TextFile generated by a \FeaturePhp\Generator\CollaborationGenerator. It is composed from several roles inside multiple collaborations, see \FeaturePhp\Collaboration\Role and \FeaturePhp\Collaboration\Collaboration.
package | Default |
---|---|
inherited_from | \FeaturePhp\File\TextFile |
__construct(string $fileTarget, array<mixed,\FeaturePhp\Collaboration\Role> $roles)
inherited_from | \FeaturePhp\File\TextFile::__construct() |
---|
string
array<mixed,\FeaturePhp\Collaboration\Role>
__construct(string $fileTarget)
string
append(string $content)
string
getContent() : \FeaturePhp\File\FileContent
It is generated using an appropriate composition mechanism (see \FeaturePhp\Collaboration\Composer).
inherited_from | \FeaturePhp\File\TextFile::getContent() |
---|
\FeaturePhp\File\FileContent
getContent() : \FeaturePhp\File\FileContent
getTarget() : string
string
$content : string
$fileTarget : string
$roles : array<mixed,\FeaturePhp\Collaboration\Role>