Symfony\Component\Validator\ConstraintViolationList::has PHP Méthode

has() public méthode

Returns whether the given offset exists.
public has ( integer $offset ) : boolean
$offset integer The violation offset.
Résultat boolean Whether the offset exists.
    public function has($offset)
    {
        return isset($this->violations[$offset]);
    }