ValidTermInterval
class ValidTermInterval implements ValidationRule (View source)
Validates that the end date of a term is within the valid interval based on the term type (Annual or Semester).
Methods
__construct(string $start_date, string $term)
Constructor.
Details
__construct(string $start_date, string $term)
Constructor.
void
validate(string $attribute, mixed $value, Closure $fail)
Validate the given attribute.