Marek Kilimajer wrote:
M. Sokolewicz wrote:
Frédéric hardy wrote:
Hello -
I have this code :
abstract class foo
{
private __construct() {}
public static getInstance()
{
static $instance = null;
if (is_null($instance) == false)
return $instance;
else
{
M. Sokolewicz wrote:
Frédéric hardy wrote:
Hello -
I have this code :
abstract class foo
{
private __construct() {}
public static getInstance()
{
static $instance = null;
if (is_null($instance) == false)
return $instance;
else
{
$class = __CLASS__;
Frédéric hardy wrote:
Hello -
I have this code :
abstract class foo
{
private __construct() {}
public static getInstance()
{
static $instance = null;
if (is_null($instance) == false)
return $instance;
else
{
$class = __CLASS__;
return new
3 matches
Mail list logo