src/includes/classes/Core/Template.php
protected function setVars(array $defaults, array ...$vars): array
    {
        return $this->vars = array_replace_recursive($defaults, $this->vars, ...$vars);
    }
protected function setVars(array $defaults, array ...$vars): array
    {
        return $this->vars = array_replace_recursive($defaults, $this->vars, ...$vars);
    }
Set template vars.

@since 150424 Initial release.

@param array $defaults Default vars.
@param array ...$vars Variadic template vars.

@return array New template vars.