evseevnn\Cassandra\Database::__construct PHP Method

__construct() public method

public __construct ( array $nodes, string $keyspace = '', array $options = [] )
$nodes array
$keyspace string
$options array
    public function __construct(array $nodes, $keyspace = '', array $options = [])
    {
        $this->cluster = new Cluster($nodes);
        $this->connection = new Connection($this->cluster);
        $this->options = array_merge($this->options, $options);
        $this->keyspace = $keyspace;
    }