PHP Class Elcodi\Admin\ProductBundle\Validation\MinimumMoneyValidator

Inheritance: extends Symfony\Component\Validator\ConstraintValidator
Show file Open project: elcodi/bamboo

Public Methods

Method Description
validate ( Elcodi\Component\Currency\Entity\Money $value, Constraint $constraint ) : null Validates the value to be greater or equal than the constraint value.

Method Details

validate() public method

Validates the value to be greater or equal than the constraint value.
public validate ( Elcodi\Component\Currency\Entity\Money $value, Constraint $constraint ) : null
$value Elcodi\Component\Currency\Entity\Money Value
$constraint Symfony\Component\Validator\Constraint Constraint
return null