Symfony\Component\Validator\ConstraintViolationList::has PHP Method

has() public method

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