mediatekformation

ConstraintViolationListInterface extends Traversable, Countable, ArrayAccess

A list of constraint violations.

Tags
author

Bernhard Schussek bschussek@gmail.com

Table of Contents

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

addAll()

Merges an existing violation list into this list.

public addAll(self $otherList) : mixed
Parameters
$otherList : self
Return values
mixed

has()

Returns whether the given offset exists.

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

The violation offset

Return values
bool

Whether the offset exists

remove()

Removes a violation at a given offset.

public remove(int $offset) : mixed
Parameters
$offset : int

The offset to remove

Return values
mixed

Search results