PHP 클래스 spec\Sylius\Bundle\CoreBundle\Fixture\GeographicalFixtureSpec

저자: Kamil Kokot ([email protected])
상속: extends PhpSpec\ObjectBehavior
파일 보기 프로젝트 열기: sylius/sylius

공개 메소드들

메소드 설명
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