PHP 클래스 Sylius\Behat\Context\Setup\ChannelContext

저자: Arkadiusz Krakowiak ([email protected])
저자: Mateusz Zalewski ([email protected])
상속: implements Behat\Behat\Context\Context
파일 보기 프로젝트 열기: sylius/sylius

공개 메소드들

메소드 설명
__construct ( Sylius\Behat\Service\SharedStorageInterface $sharedStorage, Sylius\Component\Core\Test\Services\DefaultChannelFactoryInterface $unitedStatesChannelFactory, Sylius\Component\Core\Test\Services\DefaultChannelFactoryInterface $defaultChannelFactory, Sylius\Component\Channel\Factory\ChannelFactoryInterface $channelFactory, Sylius\Component\Channel\Repository\ChannelRepositoryInterface $channelRepository, Doctrine\Common\Persistence\ObjectManager $channelManager, Sylius\Component\Core\Currency\CurrencyStorageInterface $currencyStorage )
iChannelHasBeenDeleted ( Sylius\Component\Core\Model\ChannelInterface $channel )
itsDefaultTaxRateIs ( Sylius\Component\Core\Model\ChannelInterface $channel, Sylius\Component\Addressing\Model\ZoneInterface $defaultTaxZone )
storeOperatesOnASingleChannel ( $currencyCode = null )
storeOperatesOnASingleChannelInTheUnitedStatesNamed ( $channelIdentifier )
storeOperatesOnASingleChannelInUnitedStates ( )
theChannelIsDisabled ( Sylius\Component\Core\Model\ChannelInterface $channel )
theChannelIsEnabled ( Sylius\Component\Core\Model\ChannelInterface $channel )
theStoreOperatesOnAChannelNamed ( $channelIdentifier, $currencyCode = null )

비공개 메소드들

메소드 설명
changeChannelState ( Sylius\Component\Core\Model\ChannelInterface $channel, boolean $state )

메소드 상세

__construct() 공개 메소드

public __construct ( Sylius\Behat\Service\SharedStorageInterface $sharedStorage, Sylius\Component\Core\Test\Services\DefaultChannelFactoryInterface $unitedStatesChannelFactory, Sylius\Component\Core\Test\Services\DefaultChannelFactoryInterface $defaultChannelFactory, Sylius\Component\Channel\Factory\ChannelFactoryInterface $channelFactory, Sylius\Component\Channel\Repository\ChannelRepositoryInterface $channelRepository, Doctrine\Common\Persistence\ObjectManager $channelManager, Sylius\Component\Core\Currency\CurrencyStorageInterface $currencyStorage )
$sharedStorage Sylius\Behat\Service\SharedStorageInterface
$unitedStatesChannelFactory Sylius\Component\Core\Test\Services\DefaultChannelFactoryInterface
$defaultChannelFactory Sylius\Component\Core\Test\Services\DefaultChannelFactoryInterface
$channelFactory Sylius\Component\Channel\Factory\ChannelFactoryInterface
$channelRepository Sylius\Component\Channel\Repository\ChannelRepositoryInterface
$channelManager Doctrine\Common\Persistence\ObjectManager
$currencyStorage Sylius\Component\Core\Currency\CurrencyStorageInterface

iChannelHasBeenDeleted() 공개 메소드

public iChannelHasBeenDeleted ( Sylius\Component\Core\Model\ChannelInterface $channel )
$channel Sylius\Component\Core\Model\ChannelInterface

itsDefaultTaxRateIs() 공개 메소드

public itsDefaultTaxRateIs ( Sylius\Component\Core\Model\ChannelInterface $channel, Sylius\Component\Addressing\Model\ZoneInterface $defaultTaxZone )
$channel Sylius\Component\Core\Model\ChannelInterface
$defaultTaxZone Sylius\Component\Addressing\Model\ZoneInterface

storeOperatesOnASingleChannel() 공개 메소드

public storeOperatesOnASingleChannel ( $currencyCode = null )

storeOperatesOnASingleChannelInTheUnitedStatesNamed() 공개 메소드

storeOperatesOnASingleChannelInUnitedStates() 공개 메소드

theChannelIsDisabled() 공개 메소드

public theChannelIsDisabled ( Sylius\Component\Core\Model\ChannelInterface $channel )
$channel Sylius\Component\Core\Model\ChannelInterface

theChannelIsEnabled() 공개 메소드

public theChannelIsEnabled ( Sylius\Component\Core\Model\ChannelInterface $channel )
$channel Sylius\Component\Core\Model\ChannelInterface

theStoreOperatesOnAChannelNamed() 공개 메소드

public theStoreOperatesOnAChannelNamed ( $channelIdentifier, $currencyCode = null )