public function ArrayCollection::offsetUnset

ArrayAccess implementation of offsetUnset()

Parameters

mixed $offset:

Return value

mixed

See also

remove()

File

drupal/core/vendor/doctrine/common/lib/Doctrine/Common/Collections/ArrayCollection.php, line 204

Class

ArrayCollection
An ArrayCollection is a Collection implementation that wraps a regular PHP array.

Namespace

Doctrine\Common\Collections

Code

public function offsetUnset($offset) {
  return $this
    ->remove($offset);
}