public static function getInstance() { if (!self::$instance) { self::$instance = new self(); } return self::$instance; }
/** * Constructor magic method. * Private because this class should not be called on its own. */ public function __construct() { parent::__construct(); }
/** * Constructor magic method. */ public function __construct() { parent::__construct(); $this->load(); }