/**
* Schedules a modified object for persistence.
*
* @param object $object The modified object
* @return void
* @throws IllegalObjectTypeException
* @api
*/
public function update($object)
{
if (!$object instanceof $this->objectType) {
throw new IllegalObjectTypeException('The modified object given to update() was not of the type (' . $this->objectType . ') this repository manages.', 1249479625);
}
$this->persistenceManager->update($object);
}