Esempio n. 1
0
 /**
  * Chain constructor.
  * @param Dsn $dsn
  * @param ClientInterface $client
  */
 public function __construct(Dsn $dsn, ClientInterface $client)
 {
     $this->setDsn($dsn);
     $this->setClient($client);
     parent::__construct();
 }
 /**
  * VtCtldMember constructor.
  *
  * @param Dsn $dsn
  */
 public function __construct(Dsn $dsn)
 {
     $this->setDsn($dsn);
     parent::__construct();
 }
Esempio n. 3
0
 /**
  * @param QueryInterface $query
  *
  * @return Result|null
  * @throws Exception
  */
 public function getResult(QueryInterface $query)
 {
     $query = new SelectQuery($query);
     return parent::getResult($query);
 }
 /**
  * VtCtldMember constructor.
  *
  * @param ClientInterface $client
  */
 public function __construct(ClientInterface $client)
 {
     $this->setClient($client);
     parent::__construct();
 }