/** * @param object $document * @return bool */ public function contains($document) { return $this->unitOfWork->contains($document); }