src/Renderer.php
public function include(string $template, array $variables = null): void
    {
        $renderer = new Renderer($this->resolve, $this->sections);
        echo $renderer->render($template, $variables);
    }
public function include(string $template, array $variables = null): void
    {
        $renderer = new Renderer($this->resolve, $this->sections);
        echo $renderer->render($template, $variables);
    }
public function include ( string $ template , array $ variables = null ) : void { $ renderer = new Renderer ( $ this -> resolve , $ this -> sections ) ; echo $ renderer -> render ( $ template , $ variables ) ; }
Outputs another template.

@param string $template path to the template
@param array|null $variables template variables
Outputs another template .