Но почему нет частного(get)?
Это может быть полезно для внедрения зависимостей.
Код: Выделить всё
Подробнее здесь: [url]https://stackoverflow.com/questions/79314122/why-syntax-privateget-doesnt-provide-in-php-8-4[/url]Код: Выделить всё
Подробнее здесь: [url]https://stackoverflow.com/questions/79314122/why-syntax-privateget-doesnt-provide-in-php-8-4[/url]