Broarm\EventTickets\DiscountField::validate
Validate the discount if it is set by...
Checking if it exists Checking if it has uses left Checking if it has a valid date Checking if the event is valid Checking if the discount is valid on one of the registered members TODO: move all these checks to the discount itself? make a method that returns a error message
Signature
public function validate(Validator
$validator )
Parameters
$validator
— object
Returns
- bool