add() add(mixed $object) Add an object to the repository Parameters mixed $object Throws \Pivot\Core\Exception\InvalidArgumentException \Pivot\Core\Exception\RepositoryException
remove() remove(mixed $object) Removes an object from the repository Parameters mixed $object Throws \Pivot\Core\Exception\InvalidArgumentException \Pivot\Core\Exception\RepositoryException
getEntityManager() getEntityManager() : \Doctrine\ORM\EntityManager Returns \Doctrine\ORM\EntityManager
isExpectedObject() isExpectedObject( $object) : boolean Checks entity Parameters $object Throws \Pivot\Core\Exception\InvalidArgumentException Returns boolean