function IntegrityViolationList::has

Returns whether the given offset exists.

Parameters

int $offset: The violation offset.

Return value

bool Whether the offset exists.

File

src/Engine/IntegrityViolationList.php, line 59

Class

IntegrityViolationList
Collection of integrity violations.

Namespace

Drupal\rules\Engine

Code

public function has($offset) {
    return $this->offsetExists($offset);
}