<?php class MainController { public static function LoginHandler() { header("Location: http://dagojek.com/src/view/login.html"); die(); } public static function DefaultHandler() { echo "This is default handler"; } }