Exponential 5.x Kernel 7.5.40 Exponential New Stack (Symfony-based) Kernel — PHP Class Reference

MimeTypeDetector.php
Go to the documentation of this file.
1 <?php
2
7 namespace eZ\Publish\SPI\IO;
8
9 interface MimeTypeDetector
10 {
18 public function getFromPath($path);
19
27 public function getFromBuffer($buffer);
28 }
eZ\Publish\SPI\IO\MimeTypeDetector
Definition: MimeTypeDetector.php:10
eZ\Publish\SPI\IO\MimeTypeDetector\getFromPath
getFromPath($path)
Returns the MIME type of the file identified by $path.
eZ\Publish\SPI\IO\MimeTypeDetector\getFromBuffer
getFromBuffer($buffer)
Returns the MIME type of the data in $buffer.
eZ\Publish\SPI\IO
Definition: SPI/IO/BinaryFile.php:7
Copyright © 1998 – 2026 7x. All rights reserved. Licensed under the GNU GPLv2+.