\FileDetector

Summary

Methods
Constants
getLocalFile()
No constants found
No protected methods found
N/A
No private methods found
N/A

Methods

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.