4 * This file is part of the Symfony package.
6 * (c) Fabien Potencier <fabien@symfony.com>
8 * For the full copyright and license information, please view the LICENSE
9 * file that was distributed with this source code.
12 namespace Symfony\Component\HttpFoundation\File\MimeType;
15 * Guesses the file extension corresponding to a given mime type.
17 interface ExtensionGuesserInterface
20 * Makes a best guess for a file extension, given a mime type.
22 * @param string $mimeType The mime type
24 * @return string The guessed extension or NULL, if none could be guessed
26 public function guess($mimeType);