/** * @return RecurringEvents */ private function newInstance(array $params) { $parameters = new ParserParameterFormatter($params); $instance = new RecurringEvents($parameters->toArray()); $instance->setDefaultNumRecurringEvents(10); $instance->setMaxNumRecurringEvents(50); return $instance; }
/** * @since 1.9 * * @return RecurringEvents */ private function newInstance(array $params) { $parameters = new ParserParameterFormatter($params); $settings = $this->newSettings(array('smwgDefaultNumRecurringEvents' => 10, 'smwgMaxNumRecurringEvents' => 50)); return new RecurringEvents($parameters->toArray(), $settings); }