You are here

public function ArrayObject::offsetExists in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/zendframework/zend-stdlib/src/ArrayObject.php \Zend\Stdlib\ArrayObject::offsetExists()

Returns whether the requested key exists

Parameters

mixed $key:

Return value

bool

3 calls to ArrayObject::offsetExists()
ArrayObject::offsetGet in vendor/zendframework/zend-stdlib/src/ArrayObject.php
Returns the value at the specified key
ArrayObject::offsetUnset in vendor/zendframework/zend-stdlib/src/ArrayObject.php
Unsets the value at the specified key
ArrayObject::__isset in vendor/zendframework/zend-stdlib/src/ArrayObject.php
Returns whether the requested key exists

File

vendor/zendframework/zend-stdlib/src/ArrayObject.php, line 279

Class

ArrayObject
Custom framework ArrayObject implementation

Namespace

Zend\Stdlib

Code

public function offsetExists($key) {
  return isset($this->storage[$key]);
}