for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* Copyright © 2016-present Spryker Systems GmbH. All rights reserved.
* Use of this software requires acceptance of the Spryker Marketplace License Agreement. See LICENSE file.
*/
namespace SprykerShop\Yves\MerchantSwitcherWidget\Dependency\Client;
use Generated\Shared\Transfer\QuoteTransfer;
class MerchantSwitcherWidgetToQuoteClientBridge implements MerchantSwitcherWidgetToQuoteClientInterface
{
* @var \Spryker\Client\Quote\QuoteClientInterface
protected $quoteClient;
* @param \Spryker\Client\Quote\QuoteClientInterface $quoteClient
public function __construct($quoteClient)
$this->quoteClient = $quoteClient;
}
* @return \Generated\Shared\Transfer\QuoteTransfer
public function getQuote()
return $this->quoteClient->getQuote();
* @param \Generated\Shared\Transfer\QuoteTransfer $quoteTransfer
*
* @return void
public function setQuote(QuoteTransfer $quoteTransfer)
$this->quoteClient->setQuote($quoteTransfer);