You are here

protected function ConstraintViolationListTest::getViolation in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/validator/Tests/ConstraintViolationListTest.php \Symfony\Component\Validator\Tests\ConstraintViolationListTest::getViolation()
6 calls to ConstraintViolationListTest::getViolation()
ConstraintViolationListTest::testAdd in vendor/symfony/validator/Tests/ConstraintViolationListTest.php
ConstraintViolationListTest::testAddAll in vendor/symfony/validator/Tests/ConstraintViolationListTest.php
ConstraintViolationListTest::testArrayAccess in vendor/symfony/validator/Tests/ConstraintViolationListTest.php
ConstraintViolationListTest::testInitWithViolations in vendor/symfony/validator/Tests/ConstraintViolationListTest.php
ConstraintViolationListTest::testIterator in vendor/symfony/validator/Tests/ConstraintViolationListTest.php

... See full list

File

vendor/symfony/validator/Tests/ConstraintViolationListTest.php, line 130

Class

ConstraintViolationListTest

Namespace

Symfony\Component\Validator\Tests

Code

protected function getViolation($message, $root = null, $propertyPath = null) {
  return new ConstraintViolation($message, $message, array(), $root, $propertyPath, null);
}