ArrayAccess implementation of offsetExists()
Parameters
mixed $offset:
Return value
bool
See also
containsKey()
File
- drupal/core/vendor/doctrine/common/lib/Doctrine/Common/Collections/ArrayCollection.php, line 160
Class
- ArrayCollection
- An ArrayCollection is a Collection implementation that wraps a regular PHP array.
Namespace
Doctrine\Common\Collections
Code
public function offsetExists($offset) {
return $this
->containsKey($offset);
}