![]() |
![]()
| ![]() |
![]()
NAMEReaction::InterfaceModel::Collection - Generic collections of Reaction::InterfaceModel::Objects DESCRIPTIONThe base class for "InterfaceModel::Collection"s. The functionality implemented here is minimal and it is expected that specialized collections be built by sublclassing this and exploiting the roles system. METHODSmembersReturns a list containing all known members of the collection add_member $objectWill add the object passed to the collection remove_member $objectRemoved the object passed from the collection, if present count_membersReturns the number of objects in the collection. ATTRIBUTES_collection_storeRead-write & lazy_build. Holds the arrayref where the
collection of objects is presently stored. Has a clearer of
"_clear_collection_store" and a predicate
of
PRIVATE METHODS_build__collection_store Builder method for attribute_collection_store, returns an empty arrayref AUTHORSSee Reaction::Class for authors. LICENSESee Reaction::Class for the license.
|