1 | <?php |
||
8 | abstract class BaseGenerator implements ImageGenerator |
||
9 | { |
||
10 | public function canConvert(string $path): bool |
||
30 | |||
31 | public function canHandleMime(string $mime = ''): bool |
||
35 | |||
36 | public function canHandleExtension(string $extension = ''): bool |
||
40 | |||
41 | public function getType(): string |
||
45 | |||
46 | abstract public function requirementsAreInstalled(): bool; |
||
47 | |||
48 | abstract public function supportedExtensions(): Collection; |
||
49 | |||
50 | abstract public function supportedMimetypes(): Collection; |
||
51 | } |
||
52 |