public function __construct($trans, $strict_read = false, $strict_write = true)
 {
     if (!$trans instanceof IThriftBufferedTransport) {
         $trans = new TBufferedTransport($trans);
     }
     parent::__construct($trans, $strict_read, $strict_write);
 }
 public function __construct($trans, $strict_read = false, $strict_write = true)
 {
     parent::__construct($trans, $strict_read, $strict_write);
 }
示例#3
0
 public function __construct($trans, $strict_read = false, $strict_write = true)
 {
     // If the transport doesn't implement putBack, wrap it in a
     // TBufferedTransport (which does)
     if (!method_exists($trans, 'putBack')) {
         $trans = new TBufferedTransport($trans);
     }
     parent::__construct($trans, $strict_read, $strict_write);
 }