You are here

public function ConstraintViolationListInterface::has in Plug 7

Returns whether the given offset exists.

@api

Parameters

int $offset The violation offset.:

Return value

bool Whether the offset exists.

1 method overrides ConstraintViolationListInterface::has()
ConstraintViolationList::has in lib/Symfony/validator/Symfony/Component/Validator/ConstraintViolationList.php
Returns whether the given offset exists.

File

lib/Symfony/validator/Symfony/Component/Validator/ConstraintViolationListInterface.php, line 63

Class

ConstraintViolationListInterface
A list of constraint violations.

Namespace

Symfony\Component\Validator

Code

public function has($offset);