Tell, don't ask

Written by Patrick Louys - - Aggregated on Saturday May 26, 2018

When I started programming, I thought that object oriented programming was about using classes and inheritance. It took me a few years to realize that there was much more to it. The following example is taken from Symfony’s documentation. public function index() { // you can fetch the EntityManager via...


« New in Symfony 4.1: Misc. improvements … - Symfony blog

Patrick Louys - A few days with a software consultant »