コード例 #1
0
 /**
  * @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;
 }
コード例 #2
0
 /**
  * @param Client $client
  */
 public function __construct(Client $client)
 {
     parent::__construct($client);
     $this->resource = 'coupon_templates';
 }
コード例 #3
0
 protected function setupRequest(Request $request)
 {
     parent::setupRequest($request);
     $request->setHeader('Connection', 'close');
 }
コード例 #4
0
ファイル: BasicClient.php プロジェクト: gotnospirit/php-dpat
 public function __construct(BasicServer &$server, $socket, $timeout)
 {
     parent::__construct($server, $socket, $timeout);
 }
コード例 #5
0
 /**
  * @param Client $client
  */
 public function __construct(Client $client)
 {
     parent::__construct($client);
     $this->resource = 'campaigns';
 }
コード例 #6
0
 public function __construct()
 {
     parent::__construct();
     $this->out = '';
 }
コード例 #7
0
 /**
  * @param Client $client
  */
 public function __construct(Client $client)
 {
     parent::__construct($client);
     $this->resource = 'groups';
 }