| 1 | <?php |
||
| 11 | class ExchangeRateValidator extends ConstraintValidator |
||
| 12 | { |
||
| 13 | protected $ratesConfiguration; |
||
| 14 | |||
| 15 | public function __construct(RatesConfigurationRegistryInterface $ratesConfiguration) |
||
| 19 | |||
| 20 | /** |
||
| 21 | * Validate rate. |
||
| 22 | * |
||
| 23 | * @param RateInterface $rate |
||
| 24 | * @param Constraint $constraint |
||
| 25 | */ |
||
| 26 | public function validate($rate, Constraint $constraint) |
||
| 51 | } |
||
| 52 |