public __construct ( Elasticsearch\Client $elastic, $index ) : void | ||
$elastic | Elasticsearch\Client | |
return | void |
public function __construct(Elastic $elastic, $index)
{
$this->elastic = $elastic;
$this->index = $index;
}