__construct() public method
Constructor.
public void __construct ( $connection, $config = [] ) | ||
---|---|---|
$connection | yii\elasticsearch\Connection |
The database connection. |
$config | array |
Name-value pairs that will be used to initialize the object properties |
Please login to continue.