示例#1
0
文件: Driver.php 项目: spider/spider
 /**
  * Create a new instance with a client
  * @param array $properties Configuration properties
  */
 public function __construct(array $properties = [])
 {
     // Populate configuration
     parent::__construct($properties);
     // Initialize the language binding client
     $this->client = new PhpOrient();
 }
示例#2
0
文件: Driver.php 项目: spider/spider
 /**
  * Create a new instance with a client
  *
  * @param array $properties an array of the properties to set for this class
  */
 public function __construct(array $properties = [])
 {
     parent::__construct($properties);
     $this->client = new Connection();
 }