Re: svn: /phpdoc/en/trunk/language/oop5/ traits.xml
| From: | Ferenc Kovacs | Date: | Thu, 18 Aug 2011 12:54:34 +0000 |
| Subject: | Re: svn: /phpdoc/en/trunk/language/oop5/ traits.xml | ||
| References: | 1 | Groups: | php.doc.cvs |
| Request: | Send a blank email to doc-cvs+get-8642@lists.php.net to get a copy of this message | ||
why?
I think currently traits is the best possible solution for singletons in php:
see http://simas.posterous.com/new-to-php-54-traits
On Thu, Aug 18, 2011 at 11:08 AM, Peter Cowburn <salathe@php.net> wrote:
> salathe Thu, 18 Aug 2011 09:08:00 +0000
>
> Revision:
> http://svn.php.net/viewvc?view=revision&revision=315127
>
> Log:
> singleton is bad example for traits
>
--
Ferenc Kovács
@Tyr43l - http://tyrael.hu