FileUploadResource::$mimeTypeGuesser

Same name in other branches
  1. 9 core/modules/file/src/Plugin/rest/resource/FileUploadResource.php \Drupal\file\Plugin\rest\resource\FileUploadResource::mimeTypeGuesser

The MIME type guesser.

Type: \Symfony\Component\HttpFoundation\File\MimeType\MimeTypeGuesserInterface

File

core/modules/file/src/Plugin/rest/resource/FileUploadResource.php, line 108

Class

FileUploadResource
File upload resource.

Namespace

Drupal\file\Plugin\rest\resource

Code

protected $mimeTypeGuesser;

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