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

public getType ( string $indexName, string $type ) : array
$indexName string
$type string
Результат array
 public function testGetting()
 {
     $this->indicesManager->create('authors');
     $authorsIndex = new AuthorsIndex();
     $this->assertArrayHasKey('authors', $this->indicesManager->indices());
     $expectedIndex = ['authors' => ['mappings' => $authorsIndex->getTypes()]];
     $this->assertEquals($expectedIndex, $this->indicesManager->get('authors'));
     $expectedIndex = ['authors' => ['mappings' => array_only($authorsIndex->getTypes(), 'producers')]];
     $this->assertEquals($expectedIndex, $this->indicesManager->getType('authors', 'producers'));
 }