PHP

All posts related to the internet's most ridiculed language: PHP

August 28, 2019

Being explicit about entity managers

Let's say we have two entity managers: master and tenant. When the dependency inversion principle is being applied, it might not be very obvious which entity manager is...

Read

August 23, 2019

Visually comparing PDF files with PHPUnit

At work we have an HTTP endpoint which returns PDF responses. The endpoint accepts an id and some data. The id determines which template is chosen and the data is then applied to that template....

Read