CalendR\Period\Factory::resolveOptions PHP Метод

resolveOptions() защищенный Метод

protected resolveOptions ( array $options ) : array
$options array
Результат array
    protected function resolveOptions(array $options)
    {
        if (null === $this->resolver) {
            $this->resolver = new OptionsResolver();
            $this->resolver->setDefaults(array('second_class' => 'CalendR\\Period\\Second', 'minute_class' => 'CalendR\\Period\\Minute', 'hour_class' => 'CalendR\\Period\\Hour', 'day_class' => 'CalendR\\Period\\Day', 'week_class' => 'CalendR\\Period\\Week', 'month_class' => 'CalendR\\Period\\Month', 'year_class' => 'CalendR\\Period\\Year', 'range_class' => 'CalendR\\Period\\Range', 'first_weekday' => Day::MONDAY));
            $this->setDefaultOptions($this->resolver);
        }
        return $this->resolver->resolve($options);
    }