Skip to content
Snippets Groups Projects
Commit 514d39e4 authored by Marcin Kolanko's avatar Marcin Kolanko
Browse files

refactor(SimplePhpRenderer): change method name

parent 2a37df7d
No related branches found
No related tags found
1 merge request!5Feat/add show rendered method
......@@ -36,7 +36,7 @@ class SimplePhpRenderer implements Renderer
public function render($template, array $params = null)
{
ob_start();
$this->show_rendered( $template, $params );
$this->output_render( $template, $params );
return ob_get_clean();
}
......@@ -44,7 +44,7 @@ class SimplePhpRenderer implements Renderer
* @param string $template
* @param array|null $params
*/
public function show_rendered($template, array $params = null)
public function output_render($template, array $params = null)
{
if ($params !== null) {
extract($params, EXTR_SKIP);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment