Property | Type | Description | |
---|---|---|---|
$id | string | Zone id. | |
$members | CommerceGuys\Zone\Model\ZoneMemberEntityInterface[] | Zone members. | |
$name | string | Zone name. | |
$priority | integer | Zone priority. | |
$scope | string | Zone scope. |
Method | Description | |
---|---|---|
__construct ( ) | Creates a Zone instance. | |
__toString ( ) : string | Returns the string representation of the zone. | |
addMember ( CommerceGuys\Zone\Model\ZoneMemberEntityInterface $member ) | ||
getId ( ) | ||
getMembers ( ) | ||
getName ( ) | ||
getPriority ( ) | ||
getScope ( ) | ||
hasMember ( CommerceGuys\Zone\Model\ZoneMemberEntityInterface $member ) | ||
hasMembers ( ) | ||
match ( CommerceGuys\Addressing\AddressInterface $address ) | ||
removeMember ( CommerceGuys\Zone\Model\ZoneMemberEntityInterface $member ) | ||
setId ( $id ) | ||
setMembers ( Doctrine\Common\Collections\Collection $members ) | ||
setName ( $name ) | ||
setPriority ( $priority ) | ||
setScope ( $scope ) |
public __toString ( ) : string | ||
return | string |
public addMember ( CommerceGuys\Zone\Model\ZoneMemberEntityInterface $member ) | ||
$member | CommerceGuys\Zone\Model\ZoneMemberEntityInterface |
public hasMember ( CommerceGuys\Zone\Model\ZoneMemberEntityInterface $member ) | ||
$member | CommerceGuys\Zone\Model\ZoneMemberEntityInterface |
public match ( CommerceGuys\Addressing\AddressInterface $address ) | ||
$address | CommerceGuys\Addressing\AddressInterface |
public removeMember ( CommerceGuys\Zone\Model\ZoneMemberEntityInterface $member ) | ||
$member | CommerceGuys\Zone\Model\ZoneMemberEntityInterface |
public setMembers ( Doctrine\Common\Collections\Collection $members ) | ||
$members | Doctrine\Common\Collections\Collection |
protected ZoneMemberEntityInterface[],CommerceGuys\Zone\Model $members | ||
return | CommerceGuys\Zone\Model\ZoneMemberEntityInterface[] |