Tag: Value objects

PHP Typed Properties

Lately there has been a lot of hype around the typed properties that PHP 7.4 will bring. In this post I outline why typed properties are not as big of a game changer as some people seem to …

Missing in PHP7: Value objects

This is the third post in my Missing in PHP7 series. The previous one is about named parameters. A Value Object does not have an identity, which means that if you have two of them with the same data, …