src/mako/file/FileInfo.php
public function getMimeEncoding(): ?string
	{
		$info = finfo_open(FILEINFO_MIME_ENCODING);

		$encoding = finfo_file($info, $this->getPathname());

		finfo_close($info);

		return $encoding ?: null;
	}
public function getMimeEncoding(): ?string
	{
		$info = finfo_open(FILEINFO_MIME_ENCODING);

		$encoding = finfo_file($info, $this->getPathname());

		finfo_close($info);

		return $encoding ?: null;
	}
public function getMimeEncoding ( ) : ? string { $ info = finfo_open ( FILEINFO_MIME_ENCODING ) ; $ encoding = finfo_file ( $ info , $ this -> getPathname ( ) ) ; finfo_close ( $ info ) ; return $ encoding ? : null ; }
Returns the MIME encoding of the file.

@return string|null
Returns the MIME encoding of the file .