public function render(string $template, array $data = []): string
	{
		$data = array_merge($this->data, $data);

		return $this->getRenderer()->make($template, $data)->render();
	}
public function render(string $template, array $data = []): string
	{
		$data = array_merge($this->data, $data);

		return $this->getRenderer()->make($template, $data)->render();
	}
public function render ( string $ template , array $ data = [ ] ) : string { $ data = array_merge ( $ this -> data , $ data ) ; return $ this -> getRenderer ( ) -> make ( $ template , $ data ) -> render ( ) ; }
Render and return compiled data.

@param   string  $template  The template file name
@param   array   $data      The data to pass to the template

@return  string  Compiled data

@since   __DEPLOY_VERSION__
Render and return compiled data .