StyleInterface::choice()

string choice(string $question, array $choices, string|int|null $default = null) Asks a choice question. Parameters string $question array $choices string|int|null $default Return Value string

StyleInterface::caution()

caution(string|array $message) Formats a caution admonition. Parameters string|array $message

StyleInterface::askHidden()

string askHidden(string $question, callable|null $validator = null) Asks a question with the user input hidden. Parameters string $question callable|null $validator Return Value string

StyleInterface::ask()

string ask(string $question, string|null $default = null, callable|null $validator = null) Asks a question. Parameters string $question string|null $default callable|null $validator Return Value string

StyleInterface

interface StyleInterface Output style helpers. Methods title(string $message) Formats a command title. section(string $message) Formats a section title. listing(array $elements) Formats a list. text(string|array $message) Formats informational text. success(string|array $message) Formats a success result bar. error(string|array $message) Formats an error result bar. warning(string|array $message) Formats an warning result bar. note(string|array $message

StubNumberFormatter deprecated

class StubNumberFormatter extends NumberFormatter deprecated since version 2.3, to be removed in 3.0. Use {@link \Symfony\Component\Intl\NumberFormatter\NumberFormatter} instead. Alias of {@link \Symfony\Component\Intl\NumberFormatter\NumberFormatter}. Constants PATTERN_DECIMAL DECIMAL CURRENCY PERCENT SCIENTIFIC SPELLOUT ORDINAL DURATION PATTERN_RULEBASED IGNORE DEFAULT_STYLE TYPE_DEFAULT TYPE_INT32 TYPE_INT64 TYPE_DOUBLE TYPE

StubLocale deprecated::getDisplayCurrencies()

static array getDisplayCurrencies(string $locale) Returns the currencies names for a locale. Parameters string $locale The locale to use for the currencies names Return Value array The currencies names with their codes as keys Exceptions InvalidArgumentException When the locale is different than 'en'

StubLocale deprecated::getDataDirectory()

static getDataDirectory()

StubLocale deprecated::getCurrenciesData()

static array getCurrenciesData(string $locale) Returns the currencies data. Parameters string $locale Return Value array The currencies data

StubLocale deprecated::getCurrencies()

static array getCurrencies() Returns all available currencies codes. Return Value array The currencies codes