MimeTypeDetector
MimeTypeDetector.php
:
9
Interface
Methods¶
getFromBuffer()
¶
MimeTypeDetector.php
:
27
Returns the MIME type of the data in $buffer.
|
|
|
Parameters
| Name | Type | Default value | Description |
|---|---|---|---|
| $buffer | string | - | - |
Return values
string
getFromPath()
¶
MimeTypeDetector.php
:
18
Returns the MIME type of the file identified by $path.
|
|
|
Parameters
| Name | Type | Default value | Description |
|---|---|---|---|
| $path | string | - | - |
Return values
string