Guesses the mime type of the file with the given path.
string $path The path to the file:
string The mime type or NULL, if none could be guessed
FileNotFoundException If the file does not exist
AccessDeniedException If the file could not be read
public function guess($path);