1// mapping.asciidoc:211 2 3[source, php] 4---- 5$params = [ 6 'index' => 'my-index', 7]; 8$response = $client->indices()->getMapping($params); 9---- 10