File\MimeType\MimeTypeGuesserInterface (Component\HttpFoundation)
Symfony\Component\HttpFoundation\File\MimeType\MimeTypeGuesserInterface
interface MimeTypeGuesserInterface
Guesses the mime type of a file.
Methods
string | guess(string $path) Guesses the mime type of the file with the given path. |
Details
public string guess(string $path)
Guesses the mime type of the file with the given path.
© 2004–2016 Fabien Potencier
Licensed under the MIT License.
http://api.symfony.com/3.0/Symfony/Component/HttpFoundation/File/MimeType/MimeTypeGuesserInterface.html