function MimeTypeGuesser::guess

Same name in this branch
  1. 9 core/lib/Drupal/Core/File/MimeType/MimeTypeGuesser.php \Drupal\Core\File\MimeType\MimeTypeGuesser::guess()
Same name in other branches
  1. 8.9.x core/lib/Drupal/Core/File/MimeType/MimeTypeGuesser.php \Drupal\Core\File\MimeType\MimeTypeGuesser::guess()
  2. 8.9.x core/lib/Drupal/Core/ProxyClass/File/MimeType/MimeTypeGuesser.php \Drupal\Core\ProxyClass\File\MimeType\MimeTypeGuesser::guess()

File

core/lib/Drupal/Core/ProxyClass/File/MimeType/MimeTypeGuesser.php, line 81

Class

MimeTypeGuesser
Provides a proxy class for \Drupal\Core\File\MimeType\MimeTypeGuesser.

Namespace

Drupal\Core\ProxyClass\File\MimeType

Code

public function guess($path) {
    return $this->lazyLoadItself()
        ->guess($path);
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.