src/orm-wrapper/CollectionWrapperInterface.php
<?php
namespace Athens\Core\ORMWrapper;
use ArrayAccess;
use Iterator;
use Countable;
use Athens\Core\Choice\ChoiceInterface;
interface CollectionWrapperInterface extends ArrayAccess, Iterator, Countable
{
/**
* Save all elements of the collection.
*
* @return void
*/
public function save();
/**
* Delete all elements of the collection.
*
* @return void
*/
public function delete();
/**
* @return ChoiceInterface[]
*/
public function getChoices();
}