A file's content.
Because different types of files are supported (\FeaturePhp\File\TextFile and \FeaturePhp\File\StoredFile in particular), file content is represented in its own class, not as a string.
package | Default |
---|
addToZip(\ZipArchive $zip, string $target)
This is expected to be called only be a \FeaturePhp\Exporter\ZipExporter.
\ZipArchive
string
the file target in the ZIP archive
copy(string $target)
This is expected to be called only be a \FeaturePhp\Exporter\LocalExporter.
string
the file target in the filesystem
getSummary() : string
The summary should be suitable for an overview of generated files, but does not necessarily contain the complete file content.
string