A file stored on the server.
A stored file may contain arbitrary data (text files, images, ...) In contrast to a \FeaturePhp\File\TextFile, it can not be manipulated and will be included in a product as is.
| package | Default |
|---|---|
| inherited_from | \FeaturePhp\File\File |
__construct(string $fileTarget, string $fileSource)
| inherited_from | \FeaturePhp\File\File::__construct() |
|---|
string
string
__construct(string $fileTarget)
string
fromSpecification(\FeaturePhp\Specification\FileSpecification $fileSpecification) : \FeaturePhp\File\StoredFile
See \FeaturePhp\Specification\FileSpecification for details.
\FeaturePhp\Specification\FileSpecification
\FeaturePhp\File\StoredFilegetContent() : \FeaturePhp\File\StoredFileContent
For details see \FeaturePhp\File\FileContent.
| inherited_from | \FeaturePhp\File\File::getContent() |
|---|
\FeaturePhp\File\StoredFileContentgetContent() : \FeaturePhp\File\FileContent
getTarget() : string
string$fileSource : string
$fileTarget : string