function __construct($dsn, $logger) { parent::__construct($dsn); $this->connect($dsn); $this->set_logger($logger); }
public function __construct($authLogin, $authToken, $client = NULL, $exception = NULL, $format = 'json') { $this->client = new Client(); $this->client->setDefaultOption('headers/Authorization', sprintf('Bearer %s', $authToken)); parent::__construct($authLogin, $authToken, $format); }