Class 🔥 Constructor property promotion pairs extremely well with DTOs

Class 🔥 Constructor property promotion pairs extremely well with DTOs

🔥 PHP 8 has made DTOs much easier with constructor property promotion

We're writing a book, you can get it for free here.