Documentation

ConstraintViolationListInterface extends Traversable, Countable, ArrayAccess

A list of constraint violations.

Tags
author

Bernhard Schussek bschussek@gmail.com

extends

\ArrayAccess<int, ConstraintViolationInterface>

extends

\Traversable<int, ConstraintViolationInterface>

Table of Contents

Methods

add()  : mixed
Adds a constraint violation to this list.
addAll()  : mixed
Merges an existing violation list into this list.
get()  : ConstraintViolationInterface
Returns the violation at a given offset.
has()  : bool
Returns whether the given offset exists.
remove()  : mixed
Removes a violation at a given offset.
set()  : mixed
Sets a violation at a given offset.

Methods

has()

Returns whether the given offset exists.

public has(int $offset) : bool
Parameters
$offset : int

The violation offset

Return values
bool

        
On this page

Search results