PHP Class CommerceGuys\Zone\Model\ZoneMemberZone
Show file
Open project: commerceguys/zone
Class Usage Examples
Protected Properties
Property |
Type |
Description |
|
$zone |
CommerceGuys\Zone\Model\ZoneInterface |
The zone. |
|
Public Methods
Method |
Description |
|
getName ( ) |
|
|
getZone ( ) : CommerceGuys\Zone\Model\ZoneInterface |
Gets the zone. |
|
match ( CommerceGuys\Addressing\AddressInterface $address ) |
|
|
setZone ( CommerceGuys\Zone\Model\ZoneEntityInterface $zone ) : self |
Sets the zone. |
|
Method Details
public getZone ( ) : CommerceGuys\Zone\Model\ZoneInterface |
return |
CommerceGuys\Zone\Model\ZoneInterface |
The zone matched by the zone member. |
public match ( CommerceGuys\Addressing\AddressInterface $address ) |
$address |
CommerceGuys\Addressing\AddressInterface |
|
public setZone ( CommerceGuys\Zone\Model\ZoneEntityInterface $zone ) : self |
$zone |
CommerceGuys\Zone\Model\ZoneEntityInterface |
The zone matched by the zone member. |
return |
self |
|
Property Details
protected ZoneInterface,CommerceGuys\Zone\Model $zone |
return |
CommerceGuys\Zone\Model\ZoneInterface |
|