function IntegrityViolationList::add

File

src/Engine/IntegrityViolationList.php, line 16

Class

IntegrityViolationList
Collection of integrity violations.

Namespace

Drupal\rules\Engine

Code

public function add(IntegrityViolation $violation) {
    $this[] = $violation;
}