Nikita Popov wrote on 8/27/21 10:40:
>> If we don't want downstream users to redeclare the properties, why are
>> they protected?
>>
> 
> To allow downstreams users to write $this->line = 123.
> 

Got it. When I asked the question, I was thinking about passing it
through the constructor, forgetting that line and file cannot be passed
through the constructor. :-)

Cheers,
Ben

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to