heymoon-cc/php-vector-tile-data-provider

View on GitHub
src/Export/ExportFormatInterface.php

Summary

Maintainability
A
0 mins
Test Coverage
<?php

namespace HeyMoon\VectorTileDataProvider\Export;

use HeyMoon\VectorTileDataProvider\Service\TileService;
use Vector_tile\Tile;

interface ExportFormatInterface
{
    public static function get(array $supports = []): static;

    public function supports(): array;

    public function export(TileService $service, Tile $tile, string|callable|null $color = null): object|string;

    public function isAvailable(): bool;

    public function require(): array;
}