getLocalFile() getLocalFile(string $file) : null 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