<?php

namespace Dreamfox\DeliveryDate;

use Dreamfox\DeliveryDate\Ajaxs\AdminAjax;
use Dreamfox\DeliveryDate\Ajaxs\FrontendAjax;
use Dreamfox\DeliveryDate\Interfaces\ApplicationInterface;
class Ajax implements ApplicationInterface {
    public function bootstrap() {
        $admin = new AdminAjax();
        $admin->init();
        // Public AJAX: timeslot availability — always register regardless of premium.
        $frontend = new FrontendAjax();
        $frontend->init();
    }

}
