[ticket/11201] Allow manipulating the intended variables with the type class

PHPBB3-11201