/**
  * @param string $str
  */
 public function __construct($str = '')
 {
     parent::__construct();
     $this->str = $str;
     $this->str_length = strlen($this->str);
     $this->offset = 0;
     $this->bitcount = $this->bits = 0;
 }
 /**
  * @param Client $client
  */
 public function __construct(Client $client)
 {
     parent::__construct($client);
     $this->resource = 'coupon_templates';
 }
 protected function setupRequest(Request $request)
 {
     parent::setupRequest($request);
     $request->setHeader('Connection', 'close');
 }
Example #4
0
 public function __construct(BasicServer &$server, $socket, $timeout)
 {
     parent::__construct($server, $socket, $timeout);
 }
 /**
  * @param Client $client
  */
 public function __construct(Client $client)
 {
     parent::__construct($client);
     $this->resource = 'campaigns';
 }
 public function __construct()
 {
     parent::__construct();
     $this->out = '';
 }
 /**
  * @param Client $client
  */
 public function __construct(Client $client)
 {
     parent::__construct($client);
     $this->resource = 'groups';
 }