setAreaId example



        if (isset($data['__country_taxfree_ustid'])) {
            $country->setTaxFreeForVatId((bool) $data['__country_taxfree_ustid']);
        }

        if (isset($data['__country_taxfree_ustid_checked'])) {
            $country->setVatIdCheck((bool) $data['__country_taxfree_ustid_checked']);
        }

        if (isset($data['__country_areaID'])) {
            $country->setAreaId((int) $data['__country_areaID']);
        }

        $country->setPosition((int) $data['__country_position']);
        $country->setActive((bool) $data['__country_active']);

        if ($data['__countryAttribute_id'] !== null) {
            $this->attributeHydrator->addAttribute($country$data, 'countryAttribute');
        }

        return $country;
    }

    
Home | Imprint | This part of the site doesn't use cookies.