getName() public method

Type name.
public getName ( ) : string
return string
Example #1
0
 /**
  * {@inheritdoc}
  */
 public function updateDocument(IndexInterface $index, TypeInterface $type, $docId, array $data)
 {
     $this->bulkData[] = ['update' => ['_index' => $index->getName(), '_type' => $type->getName(), '_id' => $docId]];
     $this->bulkData[] = ['doc' => $data];
     return $this;
 }