getIndexed() 공개 메소드

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