for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace App\Common\Infra\Validator;
use Symfony\Component\Validator\Constraint;
class IdDoesNotExistConstraint extends Constraint
{
/**
* @var string
*/
public $message = '%className% [%id%] already exist';
public $fqcn;
* @return string
public function getMessage(): string
return $this->message;
}
public function getFqcn(): string
return $this->fqcn;