Метод | Описание | |
---|---|---|
it_creates_and_persist_a_country ( Sylius\Component\Resource\Factory\FactoryInterface $countryFactory, Doctrine\Common\Persistence\ObjectManager $countryManager, Sylius\Component\Addressing\Model\CountryInterface $country ) | ||
it_creates_and_persist_a_country_and_a_zone_containing_it ( Sylius\Component\Resource\Factory\FactoryInterface $countryFactory, Doctrine\Common\Persistence\ObjectManager $countryManager, Sylius\Component\Addressing\Factory\ZoneFactoryInterface $zoneFactory, Doctrine\Common\Persistence\ObjectManager $zoneManager, Sylius\Component\Addressing\Model\CountryInterface $country, Sylius\Component\Addressing\Model\ZoneInterface $zone ) | ||
it_creates_and_persist_a_country_province ( 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\Model\CountryInterface $country, Sylius\Component\Addressing\Model\ProvinceInterface $province ) | ||
it_creates_and_persist_a_country_province_and_a_zone_containing_it ( 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, Sylius\Component\Addressing\Model\CountryInterface $country, Sylius\Component\Addressing\Model\ProvinceInterface $province, Sylius\Component\Addressing\Model\ZoneInterface $zone ) | ||
it_creates_and_persist_a_country_type_zone_and_a_zone_containing_it ( Sylius\Component\Resource\Factory\FactoryInterface $countryFactory, Doctrine\Common\Persistence\ObjectManager $countryManager, Sylius\Component\Addressing\Factory\ZoneFactoryInterface $zoneFactory, Doctrine\Common\Persistence\ObjectManager $zoneManager, Sylius\Component\Addressing\Model\CountryInterface $country, Sylius\Component\Addressing\Model\ZoneInterface $countryTypeZone, Sylius\Component\Addressing\Model\ZoneInterface $zoneTypeZone ) | ||
it_is_a_fixture ( ) | ||
it_is_initializable ( ) | ||
it_throws_an_exception_if_trying_to_create_a_province_for_unexisting_country ( ) | ||
it_throws_an_exception_if_trying_to_create_a_zone_with_unexisting_country ( ) | ||
it_throws_an_exception_if_trying_to_create_a_zone_with_unexisting_province ( ) | ||
it_throws_an_exception_if_trying_to_create_a_zone_with_unexisting_zone ( ) | ||
let ( 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 ) |
public it_creates_and_persist_a_country ( Sylius\Component\Resource\Factory\FactoryInterface $countryFactory, Doctrine\Common\Persistence\ObjectManager $countryManager, Sylius\Component\Addressing\Model\CountryInterface $country ) | ||
$countryFactory | Sylius\Component\Resource\Factory\FactoryInterface | |
$countryManager | Doctrine\Common\Persistence\ObjectManager | |
$country | Sylius\Component\Addressing\Model\CountryInterface |
public it_creates_and_persist_a_country_and_a_zone_containing_it ( Sylius\Component\Resource\Factory\FactoryInterface $countryFactory, Doctrine\Common\Persistence\ObjectManager $countryManager, Sylius\Component\Addressing\Factory\ZoneFactoryInterface $zoneFactory, Doctrine\Common\Persistence\ObjectManager $zoneManager, Sylius\Component\Addressing\Model\CountryInterface $country, Sylius\Component\Addressing\Model\ZoneInterface $zone ) | ||
$countryFactory | Sylius\Component\Resource\Factory\FactoryInterface | |
$countryManager | Doctrine\Common\Persistence\ObjectManager | |
$zoneFactory | Sylius\Component\Addressing\Factory\ZoneFactoryInterface | |
$zoneManager | Doctrine\Common\Persistence\ObjectManager | |
$country | Sylius\Component\Addressing\Model\CountryInterface | |
$zone | Sylius\Component\Addressing\Model\ZoneInterface |
public it_creates_and_persist_a_country_province ( 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\Model\CountryInterface $country, Sylius\Component\Addressing\Model\ProvinceInterface $province ) | ||
$countryFactory | Sylius\Component\Resource\Factory\FactoryInterface | |
$countryManager | Doctrine\Common\Persistence\ObjectManager | |
$provinceFactory | Sylius\Component\Resource\Factory\FactoryInterface | |
$provinceManager | Doctrine\Common\Persistence\ObjectManager | |
$country | Sylius\Component\Addressing\Model\CountryInterface | |
$province | Sylius\Component\Addressing\Model\ProvinceInterface |
public it_creates_and_persist_a_country_province_and_a_zone_containing_it ( 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, Sylius\Component\Addressing\Model\CountryInterface $country, Sylius\Component\Addressing\Model\ProvinceInterface $province, Sylius\Component\Addressing\Model\ZoneInterface $zone ) | ||
$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 | |
$country | Sylius\Component\Addressing\Model\CountryInterface | |
$province | Sylius\Component\Addressing\Model\ProvinceInterface | |
$zone | Sylius\Component\Addressing\Model\ZoneInterface |
public it_creates_and_persist_a_country_type_zone_and_a_zone_containing_it ( Sylius\Component\Resource\Factory\FactoryInterface $countryFactory, Doctrine\Common\Persistence\ObjectManager $countryManager, Sylius\Component\Addressing\Factory\ZoneFactoryInterface $zoneFactory, Doctrine\Common\Persistence\ObjectManager $zoneManager, Sylius\Component\Addressing\Model\CountryInterface $country, Sylius\Component\Addressing\Model\ZoneInterface $countryTypeZone, Sylius\Component\Addressing\Model\ZoneInterface $zoneTypeZone ) | ||
$countryFactory | Sylius\Component\Resource\Factory\FactoryInterface | |
$countryManager | Doctrine\Common\Persistence\ObjectManager | |
$zoneFactory | Sylius\Component\Addressing\Factory\ZoneFactoryInterface | |
$zoneManager | Doctrine\Common\Persistence\ObjectManager | |
$country | Sylius\Component\Addressing\Model\CountryInterface | |
$countryTypeZone | Sylius\Component\Addressing\Model\ZoneInterface | |
$zoneTypeZone | Sylius\Component\Addressing\Model\ZoneInterface |
public let ( 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 |