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

Breadcrumb

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

function CompoundConstraintTestCase::assertViolationsCount

File

vendor/symfony/validator/Test/CompoundConstraintTestCase.php, line 113

Class

CompoundConstraintTestCase
A test case to ease testing Compound Constraints.

Namespace

Symfony\Component\Validator\Test

Code

public function assertViolationsCount(int $count) : void {
    $this->assertCount($count, $this->context
        ->getViolations());
}
RSS feed
Powered by Drupal