for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace CL\CurrencyConvert;
use SebastianBergmann\Money\Currency;
/**
* @author Ivan Kerin <[email protected]>
* @copyright 2014, Clippings Ltd.
* @license http://spdx.org/licenses/BSD-3-Clause
*/
class NullSource implements SourceInterface
{
* @param Currency $from
* @param Currency $to
* @return float
public function getRateBetween(Currency $from, Currency $to)
return 1.0;
}