/** * Callback for plain output * * @param WorkflowState $content The content * * @return void */ public function asPlain($content) { $state = $this->getState($content); $this->renderer->write($state); }
/** * Write data to the stream. * * @param string $string The string that is to be written. * * @return integer Returns the number of bytes written to the stream. * @throws \RuntimeException on failure. */ public function write($string) { return $this->renderer->write($string); }