range_id); if (!$range) { throw new RecordNotFoundException(); } $user = $this->getUser($request); if (!Authority::canShowForum($user, $range)) { throw new AuthorizationFailedException(); } $reactions = $posting->reactions ?? SimpleORMapCollection::createFromArray([]); return $this->getPaginatedContentResponse( $reactions->limit(...$this->getOffsetAndLimit()), count($reactions) ); } }