public function getDocumentId(DocumentInterface $comment) { return sprintf('%s-%d', $this->getType(), $comment->getId()); }