src/Single/Latte.php
public function render($name, array $params = [])
	{
		$latte = $this->createLatteEngine();
		$basePath = ['basePath' => $this->getBasePath()] ;
		$latte->render($name, $params + $basePath);
		return $latte;
	}
public function render($name, array $params = [])
	{
		$latte = $this->createLatteEngine();
		$basePath = ['basePath' => $this->getBasePath()] ;
		$latte->render($name, $params + $basePath);
		return $latte;
	}
public function render ( $ name , array $ params = [ ] ) { $ latte = $ this -> createLatteEngine ( ) ; $ basePath = [ 'basePath' => $ this -> getBasePath ( ) ] ; $ latte -> render ( $ name , $ params + $ basePath ) ; return $ latte ; }
Create a template and insert parameters.
@param string $name
@return self
Create a template and insert parameters .