[prev in list] [next in list] [prev in thread] [next in thread] 

List:       php-doc-cvs
Subject:    Re: [DOC-CVS] svn: /phpdoc/en/trunk/reference/reflection/reflectionclass/clone.xml versions.xml
From:       70.66.140.54
Date:       2012-05-28 0:09:56
Message-ID: 05.90.13822.852C2CF4 () pb1 ! pair ! com
[Download RAW message or body]

On 12-05-27 04:02 PM, Peter Cowburn wrote:
> On 27 May 2012 23:52, Justin Martin<frozenfire@php.net>  wrote:
>
>> frozenfire                               Sun, 27 May 2012 22:52:04 +0000
>>
>> Revision: http://svn.php.net/viewvc?view=revision&revision=325877
>>
>> Log:
>> Removed inaccessible __clone method from ReflectionClass. More likely to
>> come in this regard.
>>
>
> Why?
>
>
>>
>> Changed paths:
>>     D   phpdoc/en/trunk/reference/reflection/reflectionclass/clone.xml
>>     U   phpdoc/en/trunk/reference/reflection/versions.xml
>>
>

What is the point of documenting private, final, inaccessible internal 
methods? The ReflectionClass object cannot be cloned. That's effectively 
the only reason why the method is defined at all - to prevent cloning of 
the object.

The only reason the undocumented method existed in the first place was 
that it was created by the docgen script.

-- 
PHP Documentation Commits Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic