Adds an element at the end of the collection.
Parameters
mixed $element The element to add.:
Return value
boolean Always TRUE.
File
- drupal/core/vendor/doctrine/common/lib/Doctrine/Common/Collections/Collection.php, line 54
Class
- Collection
- The missing (SPL) Collection/Array/OrderedMap interface.
Namespace
Doctrine\Common\Collections
Code
function add($element);