public __construct ( |
||
$toLocale | ||
$fromLocale |
public function __construct(Locale $toLocale, Locale $fromLocale = null)
{
if ($fromLocale === null) {
$fromLocale = Locale::workingLocale();
}
$this->toLocale = $toLocale;
$this->fromLocale = $fromLocale;
$this->extraIdMap = [];
}