Ejemplo n.º 1
0
 protected function isIndexable(Post $entity) : bool
 {
     return $entity->getCollection()->isCommunityCollection();
 }
Ejemplo n.º 2
0
 protected function getSource(Post $entity) : Source
 {
     return $source = $this->sourceFactory->getCollectionSource($entity->getCollection()->getId());
 }
Ejemplo n.º 3
0
 protected function isIndexable(Post $entity) : bool
 {
     return $entity->getCollection()->isProfileCollection();
 }