@@ -312,35 +312,26 @@ var_dump($post->id);
312312 对象标记为非延迟。
313313 </member >
314314 <member >
315- Unlike ghost objects, the properties of the object are not modified at
316- this stage.
315+ 与幽灵对象不同,在此阶段不会修改对象的属性。
317316 </member >
318317 <member >
319- The factory function is called with the object as its first parameter and
320- must return a non-lazy instance of a compatible class (see
321- <methodname >ReflectionClass::newLazyProxy</methodname >).
318+ 会将对象作为工厂函数的第一个参数进行调用,并且必须返回兼容类的非延迟实例(参见
319+ <methodname >ReflectionClass::newLazyProxy</methodname >)。
322320 </member >
323321 <member >
324- The returned instance is referred to as the <emphasis >real
325- instance</emphasis > and is attached to the proxy.
322+ 返回的实例称为<emphasis >真实实例</emphasis >,并附加到代理对象上。
326323 </member >
327324 <member >
328- The proxy's property values are discarded as though
329- <function >unset</function > was called.
325+ 会丢弃代理对象的属性值,如同调用了 <function >unset</function >。
330326 </member >
331327 </simplelist >
332328 <simpara >
333- After initialization, accessing any property on the proxy will
334- yield the same result as accessing the corresponding property on
335- the real instance; all property accesses on the proxy are forwarded
336- to the real instance, including declared, dynamic, non-existing, or
337- properties marked with
338- <methodname >ReflectionProperty::skipLazyInitialization</methodname > or
339- <methodname >ReflectionProperty::setRawValueWithoutLazyInitialization</methodname >.
329+ 初始化后,访问代理对象上的任何属性将得到与访问真实实例上对应属性相同的结果;访问代理对象上的所有属性都会转发到真实实例,包括已声明、动态、不存在的属性,或使用
330+ <methodname >ReflectionProperty::skipLazyInitialization</methodname > 或
331+ <methodname >ReflectionProperty::setRawValueWithoutLazyInitialization</methodname > 标记的属性。
340332 </simpara >
341333 <simpara >
342- The proxy object itself is <emphasis >not</emphasis > replaced or substituted
343- for the real instance.
334+ 代理对象本身<emphasis >不会</emphasis >替换(replaced)或替代(substituted)为真实实例。
344335 </simpara >
345336 <simpara >
346337 While the factory receives the proxy as its first parameter, it is
0 commit comments