Re: Singletons

From: Date: Wed, 05 Feb 2014 14:08:12 +0000
Subject: Re: Singletons
References: 1 2 3 4  Groups: php.internals 
Request: Send a blank email to [email protected] to get a copy of this message
2014-02-05 Johannes Schlüter <[email protected]>:

> On Wed, 2014-02-05 at 13:09 +0100, Sebastian Krebs wrote:
> > Beside this: Thats how it works in all me known languages. I don't know
> any
> > language, where a pattern (in any form) is part of the core.
>
> You mean like PHP which i.e. ships Observer pattern?
> http://php.net/splobserver
>
>
OK, it's in the core, but not part of the language (somehow). You know,
what I meant ;)


> That said: We won't add singleton. Creating a trait in userspace is
> trivial for the ones who really want to use it.
>
> johannes
>
>


-- 
github.com/KingCrunch


Thread (13 messages)

« previous php.internals (#72274) next »