Published on 2019-12-31 • Modified on 2019-12-31
In this post, we will see how to use the Symfony AbstractController that was introduced in Symfony 3.3/4.1. We will review what we used to do before and the evolutions that were done from symfony 1 to Symfony5, especially how services were declared and used. Eventually, we will try to understand why this new "Base controller" was introduced.
Published on 2019-01-29 • Modified on 2019-06-06
In this post, we will review one of the most used and useful service (in fact it's a value object) provided by Symfony which is the Request service Is is part of the HttpFoundation component. Symfony is indeed a "Request/Response" framework. It will be interactive, that means that you will be able to change the URL used in the examples and provide your own one so you can test with different parameters. It will therefore save you manual
dump() calls. 😉