src/mako/view/ViewFactory.php
protected function mergeVariables(string $view, array $variables): array
	{
		return $variables + $this->getAutoAssignVariables($view) + $this->globalVariables;
	}
protected function mergeVariables(string $view, array $variables): array
	{
		return $variables + $this->getAutoAssignVariables($view) + $this->globalVariables;
	}
protected function mergeVariables ( string $ view , array $ variables ) : array { return $ variables + $ this -> getAutoAssignVariables ( $ view ) + $ this -> globalVariables ; }
Returns array where variables have been merged in order of importance.

@param  string $view      View
@param  array  $variables View variables
@return array
Returns array where variables have been merged in order of importance .