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);
        }
    }
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);
        }
    }
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 ) ; } }
We can create Instant win occurrences dynamically


@param  array                  $data
@return boolean|null
We can create Instant win occurrences dynamically