protected function TwigExtensionBase::getExtensionGuesser in Bamboo Twig 8.5
Same name and namespace in other branches
- 8.2 src/TwigExtension/TwigExtensionBase.php \Drupal\bamboo_twig\TwigExtension\TwigExtensionBase::getExtensionGuesser()
- 8.3 src/TwigExtension/TwigExtensionBase.php \Drupal\bamboo_twig\TwigExtension\TwigExtensionBase::getExtensionGuesser()
- 8.4 src/TwigExtension/TwigExtensionBase.php \Drupal\bamboo_twig\TwigExtension\TwigExtensionBase::getExtensionGuesser()
Return a singleton mime type to file extension guesser.
Return value
\Symfony\Component\Mime\MimeTypesInterface Return a MIME type object for MIME type guessing.
File
- src/
TwigExtension/ TwigExtensionBase.php, line 197
Class
- TwigExtensionBase
- Provides a Twig Extension Lazy Service Injection.
Namespace
Drupal\bamboo_twig\TwigExtensionCode
protected function getExtensionGuesser() {
return new MimeTypes();
}