getIndexed() public method

Get indexing date
public getIndexed ( ) : DateTime
return DateTime
Exemplo n.º 1
0
 /**
  * Test if article is indexed
  *
  * @param Newscoop\Entity\Article $article
  * @return bool
  */
 public function isIndexed(DocumentInterface $article)
 {
     return $article->getIndexed() !== null;
 }
Exemplo n.º 2
0
 /**
  * Test if comment is indexed
  *
  * @param Newscoop\Entity\Comment $comment
  * @return bool
  */
 public function isIndexed(DocumentInterface $comment)
 {
     return $comment->getIndexed() !== null;
 }
Exemplo n.º 3
0
 /**
  * Test if user is indexed
  *
  * @param Newscoop\Entity\User $user
  * @return bool
  */
 public function isIndexed(DocumentInterface $user)
 {
     return $user->getIndexed() !== null;
 }