ElasticSearcher\ElasticSearcher::indicesManager PHP Метод

indicesManager() публичный Метод

public indicesManager ( ) : IndicesManager
Результат ElasticSearcher\Managers\IndicesManager
    public function indicesManager()
    {
        if (!$this->indicesManager) {
            $this->indicesManager = new IndicesManager($this);
        }
        return $this->indicesManager;
    }

Usage Example

Пример #1
0
 /**
  * @param array $indices
  */
 protected function searchInIndices(array $indices)
 {
     foreach ($indices as $index) {
         $index = $this->searcher->indicesManager()->getRegistered($index);
         $this->indices[] = $index->getName();
     }
     // Remove doubles.
     $this->indices = array_unique($this->indices);
 }
All Usage Examples Of ElasticSearcher\ElasticSearcher::indicesManager