code format Controller.php