Example #1
0
 /**
  * Get installed indexing clients
  *
  * @return array List of installed indexClients
  */
 private function getIndexClients()
 {
     $servicIds = $this->container->getServiceIds();
     $indexingServices = array();
     foreach ($servicIds as $serviceId) {
         if (strpos($serviceId, 'index_client.') === false) {
             continue;
         }
         $indexingServices[$serviceId] = $this->container->get($serviceId);
     }
     return $indexingServices;
 }