A file containing arbitrary text.
A text file may be manipulated, in contrast to a \FeaturePhp\File\StoredFile. In particular, it may not be used for binary data such as images.
| package | Default |
|---|---|
| inherited_from | \FeaturePhp\File\File |
__construct(string $fileTarget, string $content = null)
| inherited_from | \FeaturePhp\File\File::__construct() |
|---|
string
stringinitial content of the file
__construct(string $fileTarget)
string
append(string $content)
string
getContent() : \FeaturePhp\File\TextFileContent
For details see \FeaturePhp\File\FileContent.
| inherited_from | \FeaturePhp\File\File::getContent() |
|---|
\FeaturePhp\File\TextFileContentgetContent() : \FeaturePhp\File\FileContent
getTarget() : string
string$content : string
$fileTarget : string