Lines Matching full:cache

95   protected $cache;  variable in Swift_Message_Mime
110 $this->cache = Swift_CacheFactory::getCache();
143 $this->cache->clear("body");
165 …* Reset the entire cache state from this branch of the tree and traversing down through the childr…
169 $this->cache->clear("body");
170 $this->cache->clear("append");
171 $this->cache->clear("headers");
172 $this->cache->clear("dbl_le");
208 $this->cache->clear("body");
261 $this->cache->clear("body");
288 $this->cache->clear("append");
291 $this->cache->write("append", $this->LE . "--" . $this->boundary . $this->LE);
293 while (false !== $bytes = $part_stream->read()) $this->cache->write("append", $bytes);
295 $this->cache->write("append", $this->LE . "--" . $this->boundary . "--" . $this->LE);
301 //if ($this->cache !== null) return $this->cache . $append;
302 if ($this->cache->has("body"))
304 $joint_os->addStream($this->cache->getOutputStream("body"));
305 $joint_os->addStream($this->cache->getOutputStream("append"));
317 $this->cache->write("body", $bytes);
321 …$this->cache->write("body", Swift_Message_Encoder::instance()->QPEncode($this->getData(), 76, 0, f…
329 $this->cache->write("body", $bytes);
333 …$this->cache->write("body", Swift_Message_Encoder::instance()->base64Encode($this->getData(), 76, …
341 $this->cache->write("body", $bytes);
345 $this->cache->write("body", $this->getData());
353 $this->cache->write("body", $bytes);
357 …$this->cache->write("body", Swift_Message_Encoder::instance()->encode7Bit($this->getData(), $this-…
365 $this->cache->write("body", $bytes);
369 …$this->cache->write("body", Swift_Message_Encoder::instance()->encode8Bit($this->getData(), $this-…
373 $joint_os->addStream($this->cache->getOutputStream("body"));
374 $joint_os->addStream($this->cache->getOutputStream("append"));
383 $this->cache->clear("body");
486 $this->cache->clear("headers");
487 $this->cache->write("headers", $this->headers->build());
488 $joint_os->addStream($this->cache->getOutputStream("headers"));
489 $this->cache->clear("dbl_le");
490 $this->cache->write("dbl_le", str_repeat($this->LE, 2));
491 $joint_os->addStream($this->cache->getOutputStream("dbl_le"));