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