public function MimeTypeGuesser::guessMimeType in Drupal 9
Same name in this branch
- 9 core/lib/Drupal/Core/File/MimeType/MimeTypeGuesser.php \Drupal\Core\File\MimeType\MimeTypeGuesser::guessMimeType()
- 9 core/lib/Drupal/Core/ProxyClass/File/MimeType/MimeTypeGuesser.php \Drupal\Core\ProxyClass\File\MimeType\MimeTypeGuesser::guessMimeType()
File
- core/
lib/ Drupal/ Core/ ProxyClass/ File/ MimeType/ MimeTypeGuesser.php, line 73
Class
- MimeTypeGuesser
- Provides a proxy class for \Drupal\Core\File\MimeType\MimeTypeGuesser.
Namespace
Drupal\Core\ProxyClass\File\MimeTypeCode
public function guessMimeType(string $path) : string {
return $this
->lazyLoadItself()
->guessMimeType($path);
}