src/Constraints/StructuredCommunication.php
<?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';
}
}