/** * Test if article is indexed * * @param Newscoop\Entity\Article $article * @return bool */ public function isIndexed(DocumentInterface $article) { return $article->getIndexed() !== null; }
/** * Test if comment is indexed * * @param Newscoop\Entity\Comment $comment * @return bool */ public function isIndexed(DocumentInterface $comment) { return $comment->getIndexed() !== null; }
/** * Test if user is indexed * * @param Newscoop\Entity\User $user * @return bool */ public function isIndexed(DocumentInterface $user) { return $user->getIndexed() !== null; }