public static function response()
    {
        $container = Container::instance();
        if (!$container->has('response')) {
            $container->register('response', new Response());
        }
        return $container->get('response');
    }
public static function response()
    {
        $container = Container::instance();
        if (!$container->has('response')) {
            $container->register('response', new Response());
        }
        return $container->get('response');
    }
public static function response ( ) { $ container = Container :: instance ( ) ; if ( ! $ container -> has ( 'response' ) ) { $ container -> register ( 'response' , new Response ( ) ) ; } return $ container -> get ( 'response' ) ; }
Singleton to Response to keep only one instance for each request

@return Response The Response object to populated by request resolution
@throws NotFoundExceptionInterface
Singleton to Response to keep only one instance for each request