ElasticSearcher\Abstracts\AbstractIndex::getName PHP 메소드

getName() 추상적인 공개 메소드

abstract public getName ( ) : string
리턴 string
    public abstract function getName();

Usage Example

 /**
  * @return AbstractIndex
  *
  * @param AbstractIndex $index
  */
 public function register(AbstractIndex $index)
 {
     $this->indices[$index->getName()] = $index;
     return $index;
 }