You are here

public function ConstraintViolationListInterface::has in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/validator/ConstraintViolationListInterface.php \Symfony\Component\Validator\ConstraintViolationListInterface::has()

Returns whether the given offset exists.

Parameters

int $offset The violation offset.:

Return value

bool Whether the offset exists.

1 method overrides ConstraintViolationListInterface::has()
ConstraintViolationList::has in vendor/symfony/validator/ConstraintViolationList.php
Returns whether the given offset exists.

File

vendor/symfony/validator/ConstraintViolationListInterface.php, line 53

Class

ConstraintViolationListInterface
A list of constraint violations.

Namespace

Symfony\Component\Validator

Code

public function has($offset);