PHP Class Sylius\Behat\Context\Transform\CurrencyContext

Author: Anna Walasek ([email protected])
Inheritance: implements Behat\Behat\Context\Context
Show file Open project: sylius/sylius

Public Methods

Method Description
__construct ( Sylius\Component\Currency\Converter\CurrencyNameConverterInterface $currencyNameConverter, Sylius\Component\Resource\Repository\RepositoryInterface $currencyRepository )
getCurrencyByName ( $currencyName )
getCurrencyCodeByName ( $currencyName )

Method Details

__construct() public method

public __construct ( Sylius\Component\Currency\Converter\CurrencyNameConverterInterface $currencyNameConverter, Sylius\Component\Resource\Repository\RepositoryInterface $currencyRepository )
$currencyNameConverter Sylius\Component\Currency\Converter\CurrencyNameConverterInterface
$currencyRepository Sylius\Component\Resource\Repository\RepositoryInterface

getCurrencyByName() public method

public getCurrencyByName ( $currencyName )

getCurrencyCodeByName() public method

public getCurrencyCodeByName ( $currencyName )