コード例 #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();
 }