Example #1
0
 /**
  * Gets value of symbol associated with \NumberFormatter
  *
  * @param string|int $symbol
  * @param string|null $style
  * @param string|null $locale
  * @return string
  */
 public function getSymbol($symbol, $style = null, $locale = null)
 {
     return $this->formatter->getSymbol($symbol, $style, $locale);
 }
 /**
  * @dataProvider getSymbolDataProvider
  */
 public function testGetNumberFormatterSymbol($symbol, $locale, $style, $expected)
 {
     $this->assertSame($expected, $this->formatter->getSymbol($symbol, $locale, $style));
 }