<?php final class SomeClass { private protected(set) string $name = 'a'; private private(set) string $other = 'b'; public function __construct( private protected(set) int $promoted, ) { } }
You have javascript disabled. You will not be able to edit any code.