Example #1
0
 /**
  * @todo implement purging for document type
  *
  * Purges all contents from the index
  *
  * @return void
  */
 public function purgeIndex()
 {
     $endpoints = $this->endpointResolver->getEndpoints();
     foreach ($endpoints as $endpointName) {
         $this->purgeEndpoint($this->endpointRegistry->getEndpoint($endpointName));
     }
 }