public static function get($path)
    {
        $ext = strtolower(pathinfo($path, PATHINFO_EXTENSION));
        if (!isset(self::$fileTypes[$ext])) {
            return false;
        }
        return self::$fileTypes[$ext];
    }
public static function get($path)
    {
        $ext = strtolower(pathinfo($path, PATHINFO_EXTENSION));
        if (!isset(self::$fileTypes[$ext])) {
            return false;
        }
        return self::$fileTypes[$ext];
    }
public static function get ( $ path ) { $ ext = strtolower ( pathinfo ( $ path , PATHINFO_EXTENSION ) ) ; if ( ! isset ( self :: $ fileTypes [ $ ext ] ) ) { return false ; } return self :: $ fileTypes [ $ ext ] ; }
Returns MIME type of the given file
@param  string $path Path
@return string       MIME type
Returns MIME type of the given file