You are here

public function ConstraintViolationList::count in Plug 7

File

lib/Symfony/validator/Symfony/Component/Validator/ConstraintViolationList.php, line 119

Class

ConstraintViolationList
Default implementation of {@ConstraintViolationListInterface}.

Namespace

Symfony\Component\Validator

Code

public function count() {
  return count($this->violations);
}