DMS::transformFileToFilePath
Gets a file path from either a File or a string
Signature
public function transformFileToFilePath(string|File
$file )
Parameters
$file
— object
Returns
- string
Errors/Exceptions
-
FileNotFoundException
- If an unexpected value was provided, or the filename was null