src/Currency.php 1 location
|
@@ 209-215 (lines=7) @@
|
| 206 |
|
* @param string|null $fallbackLocale |
| 207 |
|
* @return string |
| 208 |
|
*/ |
| 209 |
|
protected function getLocalesKey($locale = null, $fallbackLocale = null) |
| 210 |
|
{ |
| 211 |
|
return implode('|', [ |
| 212 |
|
$locale ?: $this->getLocale(), |
| 213 |
|
$fallbackLocale ?: $this->getFallbackLocale(), |
| 214 |
|
]); |
| 215 |
|
} |
| 216 |
|
|
| 217 |
|
/** |
| 218 |
|
* The current number formatter. |
src/Number.php 1 location
|
@@ 147-153 (lines=7) @@
|
| 144 |
|
* @param string|null $fallbackLocale |
| 145 |
|
* @return string |
| 146 |
|
*/ |
| 147 |
|
protected function getLocalesKey($locale = null, $fallbackLocale = null) |
| 148 |
|
{ |
| 149 |
|
return implode('|', [ |
| 150 |
|
$locale ?: $this->getLocale(), |
| 151 |
|
$fallbackLocale ?: $this->getFallbackLocale(), |
| 152 |
|
]); |
| 153 |
|
} |
| 154 |
|
|
| 155 |
|
/** |
| 156 |
|
* The current number formatter. |