private static function init_routing()
    {
        static::$container->add_singleton(
            Router::class,
            function () {
                return new Router();
            }
        );

        static::$container->add_singleton(
            Request::class,
            function () {
                return new Request();
            }
        );

        static::$container->add_singleton(
            Response::class,
            function () {
                return new Response();
            }
        );

        static::$container->add_singleton(
            Validator::class,
            function () {
                return new Validator();
            }
        );

        static::$container->alias(Router::class, 'router');
        static::$container->alias(Request::class, 'request');
        static::$container->alias(Response::class, 'response');
    }
private static function init_routing()
    {
        static::$container->add_singleton(
            Router::class,
            function () {
                return new Router();
            }
        );

        static::$container->add_singleton(
            Request::class,
            function () {
                return new Request();
            }
        );

        static::$container->add_singleton(
            Response::class,
            function () {
                return new Response();
            }
        );

        static::$container->add_singleton(
            Validator::class,
            function () {
                return new Validator();
            }
        );

        static::$container->alias(Router::class, 'router');
        static::$container->alias(Request::class, 'request');
        static::$container->alias(Response::class, 'response');
    }
private static function init_routing ( ) { static :: $ container -> add_singleton ( Router :: class , function ( ) { return new Router ( ) ; } ) ; static :: $ container -> add_singleton ( Request :: class , function ( ) { return new Request ( ) ; } ) ; static :: $ container -> add_singleton ( Response :: class , function ( ) { return new Response ( ) ; } ) ; static :: $ container -> add_singleton ( Validator :: class , function ( ) { return new Validator ( ) ; } ) ; static :: $ container -> alias ( Router :: class , 'router' ) ; static :: $ container -> alias ( Request :: class , 'request' ) ; static :: $ container -> alias ( Response :: class , 'response' ) ; }
Add Snap routing, request, and validation services to the container.

@since  1.0.0
Add Snap routing request and validation services to the container .