/**
* @var EngineInterface[]
*/
protected $engines =
[];
/**
* @param EngineInterface[] $engines An array of EngineInterface instances to add
*/
public function __construct(array
$engines =
[]) { foreach ($engines as $engine) { $this->
addEngine($engine);
} } public function render(string|TemplateReferenceInterface
$name, array
$parameters =
[]): string
{ return $this->
getEngine($name)->
render($name,
$parameters);
} /**
* @return void
*/