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
Elastica
Node
__construct
Elastica\Node::__construct PHP Method
Node Class Documentation
Show file
Open project: ruflin/elastica
__construct()
public
method
Create a new node object.
public
__construct
(
string
$id
,
Client
$client
)
$id
string
Node id or name
$client
Client
Node object
public function __construct($id, Client $client) { $this->_client = $client; $this->setId($id); }
Node
__construct
getClient
getId
getInfo
getName
getStats
refresh
setId