Свойство | Тип | Описание | |
---|---|---|---|
$addressFormatRepository | AddressFormatRepositoryInterface | The address format repository. | |
$countryRepository | CountryRepositoryInterface | The country repository. | |
$formatter | The formatter. | ||
$subdivisionRepository | SubdivisionRepositoryInterface | The subdivision repository. |
Метод | Описание | |
---|---|---|
setUp ( ) | ||
testAddressLeadingPostPrefix ( ) | ||
testEmptyAddress ( ) | ||
testJapanAddressShippedFromFrance ( ) | ||
testMissingOriginCountryCode ( ) | ||
testOriginCountryCode ( ) | ||
testUnitedStatesAddress ( ) |
Метод | Описание | |
---|---|---|
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 PostalLabelFormatter,CommerceGuys\Addressing\Formatter $formatter | ||
Результат |