3 declare(strict_types=1);
    48             throw new \ilException(
"User $user_id does not exist.");
    51             throw new \ilException(
"Booking Pool $pool_id does not exist.");
    54         $participant = new \ilBookingParticipant($user_id, $pool_id);
    59         $this->repo->participants()->removeFromAll($user_id);
 InternalDomainService $domain
 
__construct(InternalDataService $data, InternalRepoService $repo, InternalDomainService $domain)
 
static _exists(int $id, bool $reference=false, ?string $type=null)
checks if an object exists in object_data 
 
InternalDataService $data
 
Survey internal data service. 
 
InternalRepoService $repo
 
createIfNotExisting(int $user_id, int $pool_id)
 
removeFromAll(int $user_id)
 
Survey internal data service. 
 
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...