reachedUserIDs = $uniqueReachedUserIDs; } public function count() { return count($this->reachedUserIDs); } public function getUsers($limit = null) { if ($limit) { $reachedUserIDs = array_slice($this->reachedUserIDs, 0, $limit); } else { $reachedUserIDs = $this->reachedUserIDs; } return \TIG\Common\User\User::readByIDs($reachedUserIDs); } }