for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* MIT License
* For full license information, please view the LICENSE file that was distributed with this source code.
*/
namespace SprykerEco\Zed\ArvatoRss\Dependency\Facade;
class ArvatoRssToMoneyBridge implements ArvatoRssToMoneyInterface
{
* @var \Spryker\Zed\Money\Business\MoneyFacadeInterface
protected $moneyFacade;
* @param \Spryker\Zed\Money\Business\MoneyFacadeInterface $moneyFacade
public function __construct($moneyFacade)
$this->moneyFacade = $moneyFacade;
}
* @param int $value
*
* @return float
public function convertIntegerToDecimal($value)
return $this->moneyFacade->convertIntegerToDecimal($value);
* @param float $value
* @return int
public function convertDecimalToInteger($value)
return $this->moneyFacade->convertDecimalToInteger($value);