Cake\ElasticSearch\Datasource\SchemaCollection::__construct PHP Method

__construct() public method

Constructor
public __construct ( Connection $connection )
$connection Connection The connection instance to use.
    public function __construct($connection)
    {
        $this->connection = $connection;
    }