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

Breadcrumb

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

function ConstraintViolationListInterface::has

Returns whether the given offset exists.

Parameters

int $offset The violation offset:

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 50

Class

ConstraintViolationListInterface
A list of constraint violations.

Namespace

Symfony\Component\Validator

Code

public function has(int $offset) : bool;
RSS feed
Powered by Drupal