Class EmailCollection

Class EmailCollection

Used by operations that consider multiple email objects.

AbstractCollection implements IteratorAggregate, Countable
EmailCollection implements EmailCollectionInterface

Methods summary

public add( EmailInterface $email )

Adds a new email to the collection.

public remove( EmailInterface $email )

Removes an email from collection.

public clear( void )

Removes all emails of collection.

protected _getValidType( void ) : string

Returns the type of te collection items.

Methods inherited from AbstractCollection

__construct(), _add(), _getExceptionText(), _itemIsValid(), count(), getArray(), getItem(), getIterator(), isEmpty()

Properties summary

Properties inherited from AbstractCollection

$collectionContentArray