'intl' => false,
'choice_loader' =>
function DOptions
$options) { $input =
$options['input'
];
if ($options['intl'
]) { if (!
class_exists(Intl::
class)) { throw new LogicException(sprintf('The "symfony/intl" component is required to use "%s" with option "intl=true". Try running "composer require symfony/intl".',
static::
class));
} $choiceTranslationLocale =
$options['choice_translation_locale'
];
return ChoiceList::
loader($this,
new IntlCallbackChoiceLoader(static fn () => self::
getIntlTimezones($input,
$choiceTranslationLocale)),
[$input,
$choiceTranslationLocale]);
} return ChoiceList::
lazy($this,
static fn () => self::
getPhpTimezones($input),
$input);
},
'choice_translation_domain' => false,
'choice_translation_locale' => null,
'input' => 'string',
'invalid_message' => 'Please select a valid timezone.',
'regions' => \DateTimeZone::ALL,
]);