Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
ElasticSearcher
Abstracts
AbstractIndex
setTypes
ElasticSearcher\Abstracts\AbstractIndex::setTypes PHP Method
AbstractIndex Class Documentation
Show file
Open project: madewithlove/elasticsearcher
setTypes()
public
method
public
setTypes
(
array
$types
) :
array
$types
array
return
array
public function setTypes(array $types) { return $this->set('mappings', $types); }
AbstractIndex
__construct
getBody
getInternalName
getName
getSettings
getType
getTypes
setSettings
setTypes
setup