src/mako/view/ViewFactory.php
protected function getAutoAssignVariablesForView(string $view): array
	{
		if(!isset($this->autoAssignVariables[$view]))
		{
			return [];
		}

		return ($this->autoAssignVariables[$view])();
	}
protected function getAutoAssignVariablesForView(string $view): array
	{
		if(!isset($this->autoAssignVariables[$view]))
		{
			return [];
		}

		return ($this->autoAssignVariables[$view])();
	}
protected function getAutoAssignVariablesForView ( string $ view ) : array { if ( ! isset ( $ this -> autoAssignVariables [ $ view ] ) ) { return [ ] ; } return ( $ this -> autoAssignVariables [ $ view ] ) ( ) ; }
Returns view specific auto assign variables.

@param  string $view View
@return array
Returns view specific auto assign variables .