1 | <?php |
||
15 | class ImageUtility |
||
16 | { |
||
17 | /** |
||
18 | * Get the allowed file extensions for the focuspoint method. |
||
19 | * |
||
20 | * @return array |
||
21 | */ |
||
22 | public static function getAllowedFileExtensions() |
||
33 | |||
34 | /** |
||
35 | * Check if the given path or extension is valid for the focuspoint. |
||
36 | * |
||
37 | * @param $pathOrExtension |
||
38 | * |
||
39 | * @return bool |
||
40 | */ |
||
41 | public static function isValidFileExtension($pathOrExtension) |
||
51 | } |
||
52 |