PHP Класс Sylius\Behat\Context\Setup\ChannelContext

Автор: Arkadiusz Krakowiak ([email protected])
Автор: Mateusz Zalewski ([email protected])
Наследование: implements Behat\Behat\Context\Context
Показать файл Открыть проект

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

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