Method | Description | |
---|---|---|
__construct ( Sylius\Component\Resource\Factory\FactoryInterface $countryFactory, Doctrine\Common\Persistence\ObjectManager $countryManager, Sylius\Component\Resource\Factory\FactoryInterface $provinceFactory, Doctrine\Common\Persistence\ObjectManager $provinceManager, Sylius\Component\Addressing\Factory\ZoneFactoryInterface $zoneFactory, Doctrine\Common\Persistence\ObjectManager $zoneManager ) | ||
getName ( ) | ||
load ( array $options ) |
Method | Description | |
---|---|---|
configureOptionsNode ( |
Method | Description | |
---|---|---|
getZoneMembers ( array $zoneOptions ) : array | ||
getZoneType ( array $zoneOptions ) : string | ||
loadCountriesWithProvinces ( array $countriesCodes, array $countriesProvinces ) | ||
loadProvincesForCountry ( array $provinces, Sylius\Component\Addressing\Model\CountryInterface $country ) | ||
loadZones ( array $zones, Closure $zoneValidator ) | ||
provideZoneValidator ( array $options ) : Closure |
public __construct ( Sylius\Component\Resource\Factory\FactoryInterface $countryFactory, Doctrine\Common\Persistence\ObjectManager $countryManager, Sylius\Component\Resource\Factory\FactoryInterface $provinceFactory, Doctrine\Common\Persistence\ObjectManager $provinceManager, Sylius\Component\Addressing\Factory\ZoneFactoryInterface $zoneFactory, Doctrine\Common\Persistence\ObjectManager $zoneManager ) | ||
$countryFactory | Sylius\Component\Resource\Factory\FactoryInterface | |
$countryManager | Doctrine\Common\Persistence\ObjectManager | |
$provinceFactory | Sylius\Component\Resource\Factory\FactoryInterface | |
$provinceManager | Doctrine\Common\Persistence\ObjectManager | |
$zoneFactory | Sylius\Component\Addressing\Factory\ZoneFactoryInterface | |
$zoneManager | Doctrine\Common\Persistence\ObjectManager |
protected configureOptionsNode ( |
||
$optionsNode |