src/mako/view/ViewFactory.php
public function render(string $view, array $variables = []): string
	{
		return $this->create($view, $variables)->render();
	}
public function render(string $view, array $variables = []): string
	{
		return $this->create($view, $variables)->render();
	}
public function render ( string $ view , array $ variables = [ ] ) : string { return $ this -> create ( $ view , $ variables ) -> render ( ) ; }
Creates and returns a rendered view.

@param  string $view      View
@param  array  $variables View variables
@return string
Creates and returns a rendered view .