Example #1
0
 /**
  * Returns the result
  *
  * @param  text.json.Output $out
  * @return string
  */
 protected function result($out)
 {
     $file = $out->file();
     $file->seek(0, SEEK_SET);
     return $file->read($file->size());
 }
Example #2
0
 /**
  * Returns the result
  *
  * @param  text.json.Output $out
  * @return string
  */
 protected function result($out)
 {
     return $out->bytes();
 }
Example #3
0
 /**
  * Returns the result
  *
  * @param  text.json.Output $out
  * @return string
  */
 protected function result($out)
 {
     return $out->stream()->getBytes();
 }