ReadOnly properties with PHP 8.1 π
https://youtu.be/D3whN83g_-U
Let's learn how you can efficiently use the new keyword readonly introduced by PHP 8.1 π
By declaring class properties βreadonlyβ, the properties will only be allowed to be initialized once. Any further attempts to give ...
pierrehenry.hashnode.dev1 min read