public MimeTypeGuesser::__construct(StreamWrapperManagerInterface $stream_wrapper_manager)
Constructs a MimeTypeGuesser object.
Parameters
StreamWrapperManagerInterface $stream_wrapper_manager: The stream wrapper manager.
File
- core/lib/Drupal/Core/File/MimeType/MimeTypeGuesser.php, line 47
Class
- MimeTypeGuesser
- Defines a MIME type guesser that also supports stream wrapper paths.
Namespace
Drupal\Core\File\MimeType
Code
public function __construct(StreamWrapperManagerInterface $stream_wrapper_manager) { $this->streamWrapperManager = $stream_wrapper_manager; }
Please login to continue.