Removes the element at the specified index from the collection.
Parameters
string|integer $key The kex/index of the element to remove.:
Return value
mixed The removed element or NULL, if the collection did not contain the element.
File
- drupal/core/vendor/doctrine/common/lib/Doctrine/Common/Collections/Collection.php, line 83
Class
- Collection
- The missing (SPL) Collection/Array/OrderedMap interface.
Namespace
Doctrine\Common\Collections
Code
function remove($key);