CommerceGuys\Zone\Matcher\ZoneMatcherInterface::match PHP Method

match() public method

Returns the best matching zone for the provided address.
public match ( CommerceGuys\Addressing\AddressInterface $address, string | null $scope = null ) : CommerceGuys\Zone\Model\ZoneInterface | null
$address CommerceGuys\Addressing\AddressInterface
$scope string | null
return CommerceGuys\Zone\Model\ZoneInterface | null
    public function match(AddressInterface $address, $scope = null);
ZoneMatcherInterface