summaryrefslogtreecommitdiff
path: root/vendor/open-telemetry/sdk/Common/Attribute/AttributeValidatorInterface.php
blob: afbfba6e7a91081cb9886f41ed85c7326e7b8739 (plain)
1
2
3
4
5
6
7
8
9
10
11
<?php

declare(strict_types=1);

namespace OpenTelemetry\SDK\Common\Attribute;

interface AttributeValidatorInterface
{
    public function validate($value): bool;
    public function getInvalidMessage(): string;
}