Re: Re: Singletons

From: Date: Wed, 22 Oct 2008 13:04:32 +0000
Subject: Re: Re: Singletons
References: 1 2 3 4 5 6  Groups: php.general 
Request: Send a blank email to php-general+get-282247@lists.php.net to get a copy of this message
> here is in my opinion, what you can do: > class Base { > private function __construct() Except that in one of my follow up posts I indicated that my singleton class was deriving from a class that had a public constructor. Thanks anyway. I ended up just using Stut's suggestion. As he said, it's not pretty but it is simple. thnx, Christoph

« previous php.general (#282247) next »