From 6ccd02730c3be3d8904c080766152077c997a301 Mon Sep 17 00:00:00 2001 From: _alvian Date: Mon, 9 Oct 2017 13:07:02 +0700 Subject: [PATCH] fix import class in connection --- Connection.php | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/Connection.php b/Connection.php index 8b4fb08..d779e5a 100644 --- a/Connection.php +++ b/Connection.php @@ -3,12 +3,13 @@ namespace explosivebit\arangodb; use Yii; -use triagens\ArangoDb\CollectionHandler; -use triagens\ArangoDb\ConnectionOptions; -use triagens\ArangoDb\Document; -use triagens\ArangoDb\DocumentHandler; -use triagens\ArangoDb\Statement; -use triagens\ArangoDb\UpdatePolicy; +use ArangoDBClient\CollectionHandler; +use ArangoDBClient\ConnectionOptions; +use ArangoDBClient\Document; +use ArangoDBClient\DocumentHandler; +use ArangoDBClient\Statement; +use ArangoDBClient\UpdatePolicy; + use yii\base\Object; @@ -51,7 +52,7 @@ class Connection extends Object try { Yii::info($token, 'explosivebit\arangodb\Connection::open'); Yii::beginProfile($token, 'explosivebit\arangodb\Connection::open'); - $this->connection = new \triagens\ArangoDb\Connection($this->connectionOptions); + $this->connection = new \ArangoDBClient\Connection($this->connectionOptions); $this->collectionHandler = new CollectionHandler($this->connection); $this->documentHandler = new DocumentHandler($this->connection); Yii::endProfile($token, 'explosivebit\arangodb\Connection::open');