Browse: Home / Classes /

Restrict_Start_Or_End_Date_In_Groups_With_Course_In_Multiple_Groups

Restrict_Start_Or_End_Date_In_Groups_With_Course_In_Multiple_Groups

Validates the Group Start or End Date when the group has at least one course that belongs to multiple groups.


Description #


Source #

File: src/Core/Validations/Rules/Restrict_Start_Or_End_Date_In_Groups_With_Course_In_Multiple_Groups.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.