Back to RendererInterface class

Method render

public string
render
(mixed $name, mixed $params = null, mixed $content = null)
Renders a script and returns the results as a string
Parameters
  • string $name The name of the element to render
  • array $params Array of values
  • string $content Override the output of the renderer
Returns
  • string The output of the script
Since
  • 4.0.0

Method render - Source code

/**
 * Renders a script and returns the results as a string
 *
 * @param   string  $name     The name of the element to render
 * @param   array   $params   Array of values
 * @param   string  $content  Override the output of the renderer
 *
 * @return  string  The output of the script
 *
 * @since   4.0.0
 */
public function render($name, $params = null, $content = null);