public static function getInstance() { if (!isset($instance)) { self::$instance = new self(); } return self::$instance; }