Свойство | Тип | Описание | |
---|---|---|---|
$addressFormatRepository | AddressFormatRepositoryInterface | The address format repository. | |
$countryRepository | CountryRepositoryInterface | The country repository. | |
$formatter | The formatter. | ||
$subdivisionRepository | SubdivisionRepositoryInterface | The subdivision repository. |
Метод | Описание | |
---|---|---|
setUp ( ) | ||
testAndorraAddress ( ) | ||
testConstructor ( ) | ||
testElSalvadorAddress ( ) | ||
testInvalidOption ( ) | ||
testLocale ( ) | ||
testOptions ( ) | ||
testTaiwanAddress ( ) | ||
testUnitedStatesIncompleteAddress ( ) |
Метод | Описание | |
---|---|---|
assertFormattedAddress ( array $expectedLines, string $formattedAddress ) | Asserts that the formatted address is valid. |
protected assertFormattedAddress ( array $expectedLines, string $formattedAddress ) | ||
$expectedLines | array | |
$formattedAddress | string |
protected AddressFormatRepositoryInterface $addressFormatRepository | ||
Результат | AddressFormatRepositoryInterface |
protected CountryRepositoryInterface $countryRepository | ||
Результат | CountryRepositoryInterface |
protected DefaultFormatter,CommerceGuys\Addressing\Formatter $formatter | ||
Результат |