Property | Type | Description | |
---|---|---|---|
$sampleLocale | |||
$sampleLocalizedSymbols | array | Localized symbols array used during formatting. | |
$templateFormat | array | A template array of parsed format. Used as a base in order to not repeat same fields everywhere. |
Method | Description | |
---|---|---|
customFormatsAndFormatterNumbers ( ) : array | Data provider with example numbers, parsed formats, and expected results. | |
formatMethodsAreChoosenCorrectly ( ) | ||
formattingUsingCustomPatternWorks ( $number, $format, array $parsedFormat, $expectedResult ) | ||
parsedFormatsAreUsedCorrectly ( $number, $expectedResult, array $parsedFormat ) | ||
sampleDataForSpecificFormattingMethods ( ) : array | Data provider with numbers, parsed formats, expected results, format types (decimal, percent or currency) and currency sign if applicable. | |
sampleNumbersAndParsedFormats ( ) : array | Data provider with example numbers, parsed formats, and expected results. | |
setUp ( ) : void | ||
specificFormattingMethodsWork ( $number, array $parsedFormat, $expectedResult, $formatType, $currencySign = null ) |
public customFormatsAndFormatterNumbers ( ) : array | ||
return | array |
public formattingUsingCustomPatternWorks ( $number, $format, array $parsedFormat, $expectedResult ) | ||
$parsedFormat | array |
public parsedFormatsAreUsedCorrectly ( $number, $expectedResult, array $parsedFormat ) | ||
$parsedFormat | array |
public sampleDataForSpecificFormattingMethods ( ) : array | ||
return | array |
public sampleNumbersAndParsedFormats ( ) : array | ||
return | array |
public specificFormattingMethodsWork ( $number, array $parsedFormat, $expectedResult, $formatType, $currencySign = null ) | ||
$parsedFormat | array |
protected Locale,Neos\Flow\I18n $sampleLocale | ||
return |
protected array $sampleLocalizedSymbols | ||
return | array |
protected array $templateFormat | ||
return | array |