File class
This class hold information about a file.
Example
$file = new File('docs', 'cv.pdf', 'base64 content');
| package |
Default |
|---|
__construct(string $folder, string $fileName, string $fileContent) : void
stringName of the folder for the file
stringName of the file
stringBase64 encode file content
getContent() : string
Returns the base64 decoded $fileContent
string
folder : string
| var |
Folder |
|---|
string
fileName : string
| var |
File name |
|---|
string
fileContent : string
| var |
File content |
|---|
string