<?php

namespace Fotogenic_AI;

if ( ! defined( 'ABSPATH' ) ) {
	exit;
}

/**
 * No-op REST boundary for the remainder of an active mixed-version update
 * request. A fresh request loads the complete Rest implementation.
 */
final class Rest {
	private static ?Rest $instance = null;

	private function __construct() {}

	public static function instance(): Rest {
		if ( null === self::$instance ) {
			self::$instance = new self();
		}

		return self::$instance;
	}

	public function init(): void {}
}
