
PHP 8.4 Property Hooks and Asymmetric Visibility in a Laravel Codebase
How property hooks and private(set) change DTOs and value objects in Laravel apps, the rules that catch people out, and why you should not try to use them on Eloquent model attributes.
- #PHP
- #PHP8.4
- #Laravel
- · 9 min read