19 $this->service = $DIC->bookingManager()->internal();
30 $pref_repo =
$service->repo()->getPreferencesRepo();
31 $book_repo =
$service->repo()->getPreferenceBasedBookingRepo();
34 foreach ($book_repo->getPoolsWithOverdueBooking() as $pool_id) {
36 $manager =
$service->domain()->preferences($pool);
39 $preferences = $pref_repo->getPreferences($pool_id);
40 $manager->storeBookings($preferences);
__construct()
Constructor.
Automatic booking of overdue pools using booking by preference.