WellCommerce\Bundle\CurrencyBundle\Importer\AbstractExchangeRatesImporter::__construct PHP Метод

__construct() публичный Метод

Constructor
public __construct ( WellCommerce\Bundle\CurrencyBundle\Repository\CurrencyRepositoryInterface $currencyRepository, WellCommerce\Bundle\CurrencyBundle\Repository\CurrencyRateRepositoryInterface $ratesRepository, WellCommerce\Bundle\DoctrineBundle\Helper\Doctrine\DoctrineHelperInterface $helper )
$currencyRepository WellCommerce\Bundle\CurrencyBundle\Repository\CurrencyRepositoryInterface
$ratesRepository WellCommerce\Bundle\CurrencyBundle\Repository\CurrencyRateRepositoryInterface
$helper WellCommerce\Bundle\DoctrineBundle\Helper\Doctrine\DoctrineHelperInterface
    public function __construct(CurrencyRepositoryInterface $currencyRepository, CurrencyRateRepositoryInterface $ratesRepository, DoctrineHelperInterface $helper)
    {
        $this->currencyRepository = $currencyRepository;
        $this->ratesRepository = $ratesRepository;
        $this->helper = $helper;
        $this->setManagedCurrencies();
    }