Rewrite lesson2 to M*C without Symfony\HttpFoundation