Sylius\Bundle\ShopBundle\Controller\CurrencySwitchController::__construct PHP Method

__construct() public method

public __construct ( Symfony\Bundle\FrameworkBundle\Templating\EngineInterface $templatingEngine, Sylius\Component\Currency\Context\CurrencyContextInterface $currencyContext, Sylius\Component\Currency\Provider\CurrencyProviderInterface $currencyProvider, Sylius\Component\Core\Currency\Handler\CurrencyChangeHandlerInterface $currencyChangeHandler )
$templatingEngine Symfony\Bundle\FrameworkBundle\Templating\EngineInterface
$currencyContext Sylius\Component\Currency\Context\CurrencyContextInterface
$currencyProvider Sylius\Component\Currency\Provider\CurrencyProviderInterface
$currencyChangeHandler Sylius\Component\Core\Currency\Handler\CurrencyChangeHandlerInterface
    public function __construct(EngineInterface $templatingEngine, CurrencyContextInterface $currencyContext, CurrencyProviderInterface $currencyProvider, CurrencyChangeHandlerInterface $currencyChangeHandler)
    {
        $this->templatingEngine = $templatingEngine;
        $this->currencyContext = $currencyContext;
        $this->currencyProvider = $currencyProvider;
        $this->currencyChangeHandler = $currencyChangeHandler;
    }