code: protected function createZoneMemberZoneFromDefinition(array $definition)
      {
          $zone = $this->get($definition['zone']);
          $zoneMember = new ZoneMemberZone();
          $zoneMember->setZone($zone);
          $setValues = \Closure::bind(function ($definition) {
              $this->id = $definition['id'];
          }, $zoneMember, '\CommerceGuys\Zone\Model\ZoneMemberZone');
          $setValues($definition);
  
          return $zoneMember;
      }
docs: Creates a ZoneMemberZone instance from the provided definition.
  
  @param array $definition The zone member definition.
  
  @return ZoneMemberZone