src/Initially/Rpc/Core/Web/App.php
public function handle()
    {
        $action = isset($_GET["action"]) ? trim($_GET["action"]) : "list";
        $control = new Control();
        switch ($action) {
            case "detail":
                $control->detailAction();
                break;
            default:
                $control->listAction();
        }
    }
public function handle()
    {
        $action = isset($_GET["action"]) ? trim($_GET["action"]) : "list";
        $control = new Control();
        switch ($action) {
            case "detail":
                $control->detailAction();
                break;
            default:
                $control->listAction();
        }
    }
public function handle ( ) { $ action = isset ( $ _GET [ "action" ] ) ? trim ( $ _GET [ "action" ] ) : "list" ; $ control = new Control ( ) ; switch ( $ action ) { case "detail" : $ control -> detailAction ( ) ; break ; default : $ control -> listAction ( ) ; } }
Web app handle
Web app handle