console); } public function isAvailable(FileInfo $file): bool { return file_exists(sprintf('%s/../../assets/%s.png', __DIR__, $this->console)); } public function getThumbnail(File $file, int $maxX, int $maxY): ?IImage { $image = new Image(); $image->loadFromFile(); return null; } }