$file
$file : \Google_DriveFile
contains Google file
This class upload a file to Google Drive
__get(string $strName) : \Google_DriveFile|\Google_Client|\Google_DriveService|string|null
PHP Magic __get method implementation.
| string | $strName | Name of the property to be fetched. |
uploadFile(string $path, string $file, string $description) : void
Upload the file on the Google Drive.
| string | $path | The path of the file to upload on the Google Drive. |
| string | $file | The name of the file to to upload on the Google Drive (if is null, the whole folder is upload). |
| string | $description | The description of the upload file. |