/**
* Creates a PostalFormatter instance.
*
* @param AddressFormatRepositoryInterface $addressFormatRepository
* @param CountryRepositoryInterface $countryRepository
* @param SubdivisionRepositoryInterface $subdivisionRepository
* @param string $originCountryCode
* @param string $locale
* @param array $options
*/
public function __construct(AddressFormatRepositoryInterface $addressFormatRepository, CountryRepositoryInterface $countryRepository, SubdivisionRepositoryInterface $subdivisionRepository, $originCountryCode = null, $locale = null, array $options = [])
{
if (!function_exists('mb_strtoupper')) {
throw new \RuntimeException('The "mbstring" extension is required by this class.');
}
$this->originCountryCode = $originCountryCode;
parent::__construct($addressFormatRepository, $countryRepository, $subdivisionRepository, $locale, $options);
}