/**
* {@inheritDoc}
*/
public function checkin($document)
{
if (!is_object($document)) {
throw new InvalidArgumentException('Parameter $document needs to be an object, ' . gettype($document) . ' given');
}
$this->errorIfClosed();
$this->unitOfWork->checkin($document);
}