Fork me on GitHub

We’ve been stuck with procedural code in our framework for the educational purposes. It is time to grow up and use object oriented style. In this episode we’ll convert our controller to the class. Then we’ll optimize the object instantiation by using another handy Symfony2 Component – HTTPKernel.