public function scheduleOccurrences($game, array $data)
    {
        // It will be quite long to create these occurrences !
        set_time_limit(0);
        if ($game->getOccurrenceType() === 'code') {
            return $this->scheduleCodeOccurrences($game, $data);
        } elseif ($game->getOccurrenceType() === 'datetime') {
            return $this->scheduleDateOccurrences($game);
        }
    }