Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. ConstraintViolationList.php

function ConstraintViolationList::has

Overrides ConstraintViolationListInterface::has

1 call to ConstraintViolationList::has()
ConstraintViolationList::offsetExists in vendor/symfony/validator/ConstraintViolationList.php

File

vendor/symfony/validator/ConstraintViolationList.php, line 82

Class

ConstraintViolationList
Default implementation of {@ConstraintViolationListInterface}.

Namespace

Symfony\Component\Validator

Code

public function has(int $offset) : bool {
    return isset($this->violations[$offset]);
}
RSS feed
Powered by Drupal