Variable parameter type based on the previous variable - Sapphire - Imagine a Framework