Browse: Home / Classes /

Restrict_Courses_In_Multiple_Groups_With_Start_Or_End_Date

Restrict_Courses_In_Multiple_Groups_With_Start_Or_End_Date

Validates the courses of a group to restrict a course in multiple groups with a start or end date.


Description #


Source #

File: src/Core/Validations/Rules/Restrict_Courses_In_Multiple_Groups_With_Start_Or_End_Date.php


Changelog #

Changelog
Version Description
4.8.0 Introduced.


Methods #

  • __construct — The constructor.
  • __invoke — The invokable method used to validate the value.
  • fromString — Creates a new instance of the validation rule from a string form.
  • id — Returns the unique id of the validation rule.