Re: [RFC] Asymmetric visibility

php.internals

Karoly Negyesi

4 years ago
Hello, public private(set) string $bar; This is extremely weird to read and especially with the future operations, very hard to understand too. I would strongly recommend explicit over implicit and use instead public(get) private(set) string $bar; Now that's quite clear. Thanks NK