public static function getInstance() { if (empty(self::$_instance)) { $db = new Db(); $context = Context::getInstance(); self::$_instance = new self($db, $context); } return self::$_instance; }
public static function getInstance() { if (empty(self::$_instance)) { $db = new Db(); $context = Context::getInstance(); self::$_instance = new self($db, $context); } return self::$_instance; }