| 1 | <?php |
||
| 13 | class VideoProperty extends FileProperty |
||
| 14 | { |
||
| 15 | /** |
||
| 16 | * @return string |
||
| 17 | */ |
||
| 18 | public function type() |
||
| 22 | |||
| 23 | /** |
||
| 24 | * Retrieves the default list of acceptable MIME types for uploaded files. |
||
| 25 | * |
||
| 26 | * This method should be overriden. |
||
| 27 | * |
||
| 28 | * @return string[] |
||
| 29 | */ |
||
| 30 | public function getDefaultAcceptedMimetypes() |
||
| 40 | |||
| 41 | /** |
||
| 42 | * Resolve the file extension from the given MIME type. |
||
| 43 | * |
||
| 44 | * @param string $type The MIME type to resolve. |
||
| 45 | * @return string|null The extension based on the MIME type. |
||
| 46 | */ |
||
| 47 | protected function resolveExtensionFromMimeType($type) |
||
| 66 | } |
||
| 67 |