* @copyright Since 2007 PrestaShop SA and Contributors * @license https://opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0) */ namespace PrestaShop\PrestaShop\Core\Domain\Country; /** * Call responsible for resolving country zip code format and returning it as other usable patterns */ interface ZipCodePatternResolverInterface { /** * @param string $format * @param string $isoCode * * @return string */ public function getRegexPattern(string $format, string $isoCode): string; /** * @param string $format * @param string $isoCode * * @return string */ public function getHumanReadablePattern(string $format, string $isoCode): string; }