19 declare(strict_types=1);
    35         $references_of = [ilObject::class, 
'_getAllReferences'],
    38         $this->references_of = Closure::fromCallable($references_of);
    39         $this->incident = $incident ?? 
new Incident();
    47         return $this->incident->any(fn(
int $ref_id): 
bool => (
    48             $this->
access->checkAccess(
'read', 
'', $ref_id)
    54         return $this->
references(($this->references_of)($obj_id));
 
readonly Closure $references_of
 
__construct(private readonly ilAccessHandler $access, $references_of=[ilObject::class, '_getAllReferences'], Incident $incident=null)
 
references(array $references)
 
readonly Incident $incident