Sets an element in the collection at the specified key/index.
Parameters
string|integer $key The key/index of the element to set.:
mixed $value The element to set.:
File
- drupal/core/vendor/doctrine/common/lib/Doctrine/Common/Collections/Collection.php, line 132
Class
- Collection
- The missing (SPL) Collection/Array/OrderedMap interface.
Namespace
Doctrine\Common\Collections
Code
function set($key, $value);