What is this var_dump doing here?
Adding redirect support in platform class