Cassandra\Integration::__destruct PHP Метод

__destruct() публичный Метод

public __destruct ( )
    public function __destruct()
    {
        // Drop keyspace for integration test (may or may have not been created)
        if (!is_null($this->session)) {
            try {
                $statement = new SimpleStatement('DROP KEYSPACE "' . $this->keyspaceName . '"');
                $this->session->execute($statement);
            } catch (Exception $e) {
                // no-op
            }
        }
    }