Soullivaneuh/IsoCodesValidator

View on GitHub
src/Constraints/StructuredCommunication.php

Summary

Maintainability
A
0 mins
Test Coverage
<?php

namespace SLLH\IsoCodesValidator\Constraints;

use SLLH\IsoCodesValidator\AbstractIsoCodesGenericConstraint;

/**
 * @Annotation
 * @Target({"PROPERTY", "METHOD", "ANNOTATION"})
 *
 * @author Sullivan Senechal <soullivaneuh@gmail.com>
 */
final class StructuredCommunication extends AbstractIsoCodesGenericConstraint
{
    public $message = 'This value is not a valid structured communication code.';

    /**
     * {@inheritdoc}
     */
    public function getIsoCodesVersion()
    {
        return '1.1.0';
    }
}