fix import class in connection
This commit is contained in:
parent
ed85a8859f
commit
6ccd02730c
|
@ -3,12 +3,13 @@
|
||||||
namespace explosivebit\arangodb;
|
namespace explosivebit\arangodb;
|
||||||
|
|
||||||
use Yii;
|
use Yii;
|
||||||
use triagens\ArangoDb\CollectionHandler;
|
use ArangoDBClient\CollectionHandler;
|
||||||
use triagens\ArangoDb\ConnectionOptions;
|
use ArangoDBClient\ConnectionOptions;
|
||||||
use triagens\ArangoDb\Document;
|
use ArangoDBClient\Document;
|
||||||
use triagens\ArangoDb\DocumentHandler;
|
use ArangoDBClient\DocumentHandler;
|
||||||
use triagens\ArangoDb\Statement;
|
use ArangoDBClient\Statement;
|
||||||
use triagens\ArangoDb\UpdatePolicy;
|
use ArangoDBClient\UpdatePolicy;
|
||||||
|
|
||||||
|
|
||||||
use yii\base\Object;
|
use yii\base\Object;
|
||||||
|
|
||||||
|
@ -51,7 +52,7 @@ class Connection extends Object
|
||||||
try {
|
try {
|
||||||
Yii::info($token, 'explosivebit\arangodb\Connection::open');
|
Yii::info($token, 'explosivebit\arangodb\Connection::open');
|
||||||
Yii::beginProfile($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->collectionHandler = new CollectionHandler($this->connection);
|
||||||
$this->documentHandler = new DocumentHandler($this->connection);
|
$this->documentHandler = new DocumentHandler($this->connection);
|
||||||
Yii::endProfile($token, 'explosivebit\arangodb\Connection::open');
|
Yii::endProfile($token, 'explosivebit\arangodb\Connection::open');
|
||||||
|
|
Loading…
Reference in New Issue