private static function treatment($result)
    {
        if (is_string($result)) {
            echo $result;
        } elseif ($result instanceof Views) {
            View::show($result);
        }
    }
private static function treatment($result)
    {
        if (is_string($result)) {
            echo $result;
        } elseif ($result instanceof Views) {
            View::show($result);
        }
    }
private static function treatment ( $ result ) { if ( is_string ( $ result ) ) { echo $ result ; } elseif ( $ result instanceof Views ) { View :: show ( $ result ) ; } }
Treat the result of the route closure.

@param mixed $result

@return string
Treat the result of the route closure .