_renderers = $renderers; } /** * Render source text * * @param [] $source * @param [] $arguments * @return string */ public function render(array $source, array $arguments = []) { $result = $source; foreach ($this->_renderers as $render) { $result[] = $render->render($result, $arguments); } return end($result); } }