You are here

public function SophronMimeTypeGuesser::guessMimeType in Sophron 8

Same name in this branch
  1. 8 sophron_guesser/src/SophronMimeTypeGuesser.php \Drupal\sophron_guesser\SophronMimeTypeGuesser::guessMimeType()
  2. 8 sophron_guesser/src/ProxyClass/SophronMimeTypeGuesser.php \Drupal\sophron_guesser\ProxyClass\SophronMimeTypeGuesser::guessMimeType()

File

sophron_guesser/src/ProxyClass/SophronMimeTypeGuesser.php, line 73

Class

SophronMimeTypeGuesser
Provides a proxy class for \Drupal\sophron_guesser\SophronMimeTypeGuesser.

Namespace

Drupal\sophron_guesser\ProxyClass

Code

public function guessMimeType(string $path) : ?string {
  return $this
    ->lazyLoadItself()
    ->guessMimeType($path);
}