for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare(strict_types=1);
namespace AmaTeam\ElasticSearch\Mapping\Validation\Constraint;
use Symfony\Component\Validator\Constraint;
/**
* @Annotation
*/
class ValidTypeName extends Constraint
{
public $id;
public $message = 'Type `{{ name }}` should be named as {{ id }}';
* @inheritDoc
public function validatedBy()
return ValidTypeNameValidator::class;
}