Talk in English - UK at The Dutch PHP Conference 2024
View Slides: https://heiglandreas.github.io/slidedeck/20240315-dpc_watchYourClock/index.html#/
Short URL: https://joind.in/talk/35a4e
(QR-Code (opens in new window))
Creating current time information in code is rather easy by calling time() or new DateTimeImmutable() directly when the information is necessary. But that then makes the code a nightmare to test. In this session we will see how the new PSR-20 allows us to change that by still making it easy to generate current time information but also allowing one to test the code. And we will get some background info why it was designed in such a way.
Comments
Comments are closed.
Talk was a bit rushed and chaotic; speaker sometimes did not know what was on the slide or where he was in the presentation.
Info was good, nice kind of journey from what and why you want something like this and how you get to the end point and then showing that the end point is actually the PSR-20 interface in disguise.
Just could've been better presented.