Reaction::InterfaceModel::Collection - Generic collections of Reaction::InterfaceModel::Objects
The base class for InterfaceModel::Collections. The functionality implemented here is minimal and it is expected that specialized collections be built by sublclassing this and exploiting the roles system.
InterfaceModel::Collection
Returns a list containing all known members of the collection
Will add the object passed to the collection
Removed the object passed from the collection, if present
Returns the number of objects in the collection.
Read-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 _has_collection_store.
_clear_collection_store
_has_collection_store
_build__collection_store
Builder method for attribute_collection_store, returns an empty arrayref
See Reaction::Class for authors.
See Reaction::Class for the license.
To install Reaction, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Reaction
CPAN shell
perl -MCPAN -e shell install Reaction
For more information on module installation, please visit the detailed CPAN module installation guide.