PHP Класс spec\Sylius\Bundle\CoreBundle\Fixture\GeographicalFixtureSpec

Автор: Kamil Kokot ([email protected])
Наследование: extends PhpSpec\ObjectBehavior
Показать файл Открыть проект

Открытые методы

Метод Описание
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 )

Описание методов

it_creates_and_persist_a_country() публичный Метод

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

it_creates_and_persist_a_country_and_a_zone_containing_it() публичный Метод

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

it_creates_and_persist_a_country_province() публичный Метод

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

it_creates_and_persist_a_country_province_and_a_zone_containing_it() публичный Метод

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

it_creates_and_persist_a_country_type_zone_and_a_zone_containing_it() публичный Метод

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

it_is_a_fixture() публичный Метод

public it_is_a_fixture ( )

it_is_initializable() публичный Метод

public 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() публичный Метод

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