Skip to content
GitLab
Explore
Sign in
Register
Use constructor property promotion in php classes
Available since PHP 8, and we require 8.1.
https://stitcher.io/blog/constructor-promotion-in-php-8