public function injectParticipants(Poll $poll)
    {
        $info = $this->injectInfo($poll);
        $options = $poll->getOptions();
        $countOptions = count($options);
        $participants = [];
        foreach ($info['participants'] as $p) {
            $preferences = [];
            for ($i = 0; $i < $countOptions; $i++) {
                $preferences[] = new Preference($options[$i], $p['preferences'][$i]);
            }

            $participant = new Participant($p['id']);
            $participant
                ->setName($p['name'])
                ->setAvatar(isset($p['largeAvatarUrl']) ? $p['largeAvatarUrl'] : '')
                ->setPreferences($preferences)
                ->setUserBehindParticipant(isset($p['userId']) ? $p['userId'] : '');

            $participants[] = $participant;
        }
        $poll->setParticipants($participants);
    }