Summary
In this chapter, we reviewed the code developed in the past chapters and applied best Symfony practices to it. We saw how to turn ordinary code into services, do the required configurations for them, and call them whenever they are needed.
We introduced a few more entities for the project and created controllers and views for each of them using the BDD/TDD approach. We saw how to create event listeners as a service and how to benefit from Doctrine's event system in our project. The whole time, we let Jenkins orchestrate the development /test/ build life cycle for us.
In the next few chapters, our focus will be on Symfony services in detail and we will examine different techniques and use cases for them.