Toggle navigation
Hot Examples
IT
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Cerca
Home
Cake
ElasticSearch
Type
initialize
Cake\ElasticSearch\Type::initialize PHP Method
Type Class Documentation
Mostra file
Open project: cakephp/elastic-search
initialize()
public
method
You can use this method to define embedded documents, define validation and do any other initialization logic you need.
public function initialize(array $config) { $this->embedMany('Comments'); }
public
initialize
(
array
$config
) :
void
$config
array
Configuration options passed to the constructor
return
void
public function initialize(array $config) { }
Type
__construct
alias
callFinder
connection
defaultConnectionName
delete
deleteAll
embedMany
embedOne
embedded
entityClass
exists
find
findAll
get
getEventManager
hasField
implementedEvents
initialize
marshaller
name
newEntities
newEntity
patchEntities
patchEntity
query
save
schema
table
updateAll