Beispiel #1
0
 /**
  * output body
  *
  * @return void
  */
 public function outputBody()
 {
     $callback = $this->outputBodyCallback;
     if (is_callable($callback)) {
         $this->testCallbackCallCount++;
         ob_start();
         $callback($this, self::CHUNK_SIZE);
         $this->testCallbackOutput[] = ob_get_clean();
     } else {
         return parent::outputBody();
     }
 }