File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -168,10 +168,11 @@ echo (clone $dateTime)->format('Y');
168168 <simpara >
169169 The overrides are applied after
170170 <link linkend =" object.clone" >__clone()</link > has run, and they honour the
171- visibility of the properties: a
172- <link linkend =" language.oop5.properties.readonly-properties" >readonly</link >
173- property can only be overridden from a scope that is allowed to write it,
174- which makes the function suited to methods returning a modified copy.
171+ visibility of all properties.
172+ <link linkend =" language.oop5.properties.readonly-properties" >Readonly</link >
173+ properties can be updated on the copy even if they were already set on the
174+ original object, which makes the function suited to methods returning a
175+ modified copy.
175176 </simpara >
176177
177178 <example >
You can’t perform that action at this time.
0 commit comments