Yoast\WP\Lib

ORM::offsetExists │ public │ Yoast 1.0 │ ReturnTypeWillChange

Checks whether the data has the key.

Метод класса: ORM{}

Хуков нет.

Возвращает

bool. Whether the data has the key.

Использование

$ORM = new ORM();
$ORM->offsetExists( $offset );
$offset(разное) (обязательный)
Key.

Код ORM::offsetExists() Yoast 28.9

public function offsetExists( $offset ) {
	return \array_key_exists( $offset, $this->data );
}