class UselessFileDetector implements FileDetector (View source)

Methods

null|string
getLocalFile(string $file)

Try to detect whether the given $file is a file or not. Return the path of the file. Otherwise, return null.

Details

null|string getLocalFile(string $file)

Try to detect whether the given $file is a file or not. Return the path of the file. Otherwise, return null.

Parameters

string $file

Return Value

null|string

The path of the file.