src/mako/cli/input/helpers/Confirmation.php
protected function getOptions(array $options, string $default): string
	{
		$highlighted = [];

		foreach(array_keys($options) as $option)
		{
			$highlighted[] = $option === $default ? mb_strtoupper($option) : $option;
		}

		return implode('/', $highlighted);
	}
protected function getOptions(array $options, string $default): string
	{
		$highlighted = [];

		foreach(array_keys($options) as $option)
		{
			$highlighted[] = $option === $default ? mb_strtoupper($option) : $option;
		}

		return implode('/', $highlighted);
	}
protected function getOptions ( array $ options , string $ default ) : string { $ highlighted = [ ] ; foreach ( array_keys ( $ options ) as $ option ) { $ highlighted [ ] = $ option === $ default ? mb_strtoupper ( $ option ) : $ option ; } return implode ( '/' , $ highlighted ) ; }
Returns a slash-separated list of valid options where the default one is highlighted as upper-case.

@param  array  $options Answer options
@param  string $default Default answer
@return string
Returns a slash - separated list of valid options where the default one is highlighted as upper - case .