Toggle navigation
Hot Examples
JP
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
検索
Home
Cake
ElasticSearch
TypeRegistry
set
Cake\ElasticSearch\TypeRegistry::set PHP Method
TypeRegistry Class Documentation
ファイルを表示
Open project: cakephp/elastic-search
set()
public
static
method
Set an instance.
public
static
set
(
string
$alias
,
Type
$object
) :
Type
$alias
string
The alias to set.
$object
Type
The type to set.
return
Type
public static function set($alias, Type $object) { return static::$instances[$alias] = $object; }
TypeRegistry
clear
exists
get
remove
set