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

View on GitHub
src/Exception/FormatSupportException.php

Summary

Maintainability
A
0 mins
Test Coverage
<?php

namespace HeyMoon\VectorTileDataProvider\Exception;

use RuntimeException;

abstract class FormatSupportException extends RuntimeException implements SupportExceptionInterface
{
    public function __construct(string $message, private readonly string $extension)
    {
        parent::__construct($message);
    }

    public function getExtension(): string
    {
        return $this->extension;
    }

    public function getRequirements(): array
    {
        return [];
    }
}