getLocalFile()
getLocalFile(string $file) : null|string
Try to detect whether the given $file is a file or not. Return the path of the file. Otherwise, return null.
Parameters
| string | $file |
Returns
null|string —The path of the file.