Lines Matching refs:this
98 $this->setType($is);
100 if (self::IS_A_BRIGADE === $this->getType()) {
101 $this->setBrigade($brigade);
103 $this->setBucket(stream_bucket_new($brigade, $buffer));
104 $bucket = $this->getBucket();
105 $this->setBrigade($bucket);
119 $this->_bucket = null;
121 return false == $this->getBucket();
132 stream_bucket_append($this->getBrigade(), $bucket->getBucket());
145 stream_bucket_prepend($this->getBrigade(), $bucket->getBucket());
158 $old = $this->_type;
159 $this->_type = $type;
171 return $this->_type;
182 $old = $this->getBucket()->data;
183 $this->getBucket()->data = $data;
184 $this->getBucket()->datalen = strlen($this->getBucket()->data);
196 if (null === $this->getBucket()) {
200 return $this->getBucket()->data;
210 if (null === $this->getBucket()) {
214 return $this->getBucket()->datalen;
225 $old = $this->_brigade;
226 $this->_brigade = $brigade;
238 return $this->_brigade;
249 $old = $this->_bucket;
250 $this->_bucket = $bucket;
262 if (null === $this->_bucket && self::IS_A_BRIGADE === $this->getType()) {
263 $this->_bucket = stream_bucket_make_writeable($this->getBrigade());
266 return $this->_bucket;