for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* MIT License
* Use of this software requires acceptance of the Evaluation License Agreement. See LICENSE file.
*/
namespace SprykerEco\Zed\Econda\Dependency\Facade;
class EcondaToPriceProductFacadeBridge implements EcondaToPriceProductFacadeInterface
{
* @var \Spryker\Zed\PriceProduct\Business\PriceProductFacadeInterface
protected $priceProductFacade;
* @param \Spryker\Zed\PriceProduct\Business\PriceProductFacadeInterface $priceProductFacade
public function __construct($priceProductFacade)
$this->priceProductFacade = $priceProductFacade;
}
* @param string $sku
* @param string|null $priceTypeName
*
* @return int|null
public function findPriceBySku($sku, $priceTypeName = null): ?int
return $this->priceProductFacade->findPriceBySku($sku, $priceTypeName);