com\setasign\SetaFramework\FileSystem
File Interface File
File: /SetaFramework/src/FileSystem/File.php
Implemented in
Summary
Methods
getFileContent()
abstract public File::getFileContent (
void
): string|\Psr\Http\Message\StreamInterface|resource|FilePathGet the content of the file.
getFileContentAsString()
Get the content of the file as a string.
Please note: This method may cost much memory if the file is big.
withFileName()
Returns a new instance of the file with another file name.
Parameters
- $newFileName : string
