Toggle navigation
Hot Examples
KO
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
검색
홈
Cake
ElasticSearch
TypeRegistry
set
Cake\ElasticSearch\TypeRegistry::set PHP 메소드
TypeRegistry 1 문서
파일 보기
프로젝트 열기: cakephp/elastic-search
set()
공개
정적인
메소드
Set an instance.
public
static
set
(
string
$alias
,
Type
$object
) :
Type
$alias
string
The alias to set.
$object
Type
The type to set.
리턴
Type
public static function set($alias, Type $object) { return static::$instances[$alias] = $object; }
TypeRegistry
clear
exists
get
remove
set