Method | Description | |
---|---|---|
__construct ( Sylius\Behat\Service\SharedStorageInterface $sharedStorage, Sylius\Component\Resource\Repository\RepositoryInterface $currencyRepository, Sylius\Component\Resource\Factory\FactoryInterface $currencyFactory, Sylius\Component\Core\Currency\CurrencyStorageInterface $currencyStorage, Doctrine\Common\Persistence\ObjectManager $currencyManager, Doctrine\Common\Persistence\ObjectManager $channelManager ) | ||
thatChannelAllowsToShopUsingAndCurrencies ( Sylius\Component\Core\Model\ChannelInterface $channel, $currenciesCodes ) | ||
theStoreHasCurrency ( $currencyCode ) | ||
theStoreHasCurrencyAnd ( $currencyCode, $secondCurrencyCode, $thirdCurrencyCode = null ) | ||
theStoreHasDisabledCurrency ( $currencyCode ) |
Method | Description | |
---|---|---|
createCurrency ( $currencyCode ) : Sylius\Component\Currency\Model\CurrencyInterface | ||
provideCurrency ( string $currencyCode ) : Sylius\Component\Currency\Model\CurrencyInterface | ||
saveCurrency ( Sylius\Component\Currency\Model\CurrencyInterface $currency ) |
public __construct ( Sylius\Behat\Service\SharedStorageInterface $sharedStorage, Sylius\Component\Resource\Repository\RepositoryInterface $currencyRepository, Sylius\Component\Resource\Factory\FactoryInterface $currencyFactory, Sylius\Component\Core\Currency\CurrencyStorageInterface $currencyStorage, Doctrine\Common\Persistence\ObjectManager $currencyManager, Doctrine\Common\Persistence\ObjectManager $channelManager ) | ||
$sharedStorage | Sylius\Behat\Service\SharedStorageInterface | |
$currencyRepository | Sylius\Component\Resource\Repository\RepositoryInterface | |
$currencyFactory | Sylius\Component\Resource\Factory\FactoryInterface | |
$currencyStorage | Sylius\Component\Core\Currency\CurrencyStorageInterface | |
$currencyManager | Doctrine\Common\Persistence\ObjectManager | |
$channelManager | Doctrine\Common\Persistence\ObjectManager |
public thatChannelAllowsToShopUsingAndCurrencies ( Sylius\Component\Core\Model\ChannelInterface $channel, $currenciesCodes ) | ||
$channel | Sylius\Component\Core\Model\ChannelInterface |
public theStoreHasCurrencyAnd ( $currencyCode, $secondCurrencyCode, $thirdCurrencyCode = null ) |