PHP Class Sylius\Behat\Context\Transform\CurrencyContext

Author: Anna Walasek ([email protected])
Inheritance: implements Behat\Behat\Context\Context
Afficher le fichier Open project: sylius/sylius

Méthodes publiques

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

Method Details

__construct() public méthode

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 méthode

public getCurrencyByName ( $currencyName )

getCurrencyCodeByName() public méthode

public getCurrencyCodeByName ( $currencyName )