respect-validation/library
Henrique Moody b26ed6bf39
Simplify "AbstractComposite" class
There is a log of magic in the "AbstractComposite" that allows an user
to add a rule in multiple ways, remove rules, verify if a rule is
inserted or not. Because of that the class has a lot of complexity and
for unnecessary reasons since we do not use these features internally.

The ideal would be to make this class immutable, however due to many
usages is not possible to do it now, but that is the plan for a near
future - hopefully.

Signed-off-by: Henrique Moody <henriquemoody@gmail.com>
2018-07-24 08:07:18 +02:00
..
Exceptions Apply contribution guidelines to "Image" rule 2018-07-23 21:55:54 +02:00
Helpers Add support to Countable type for ComparisonHelper 2018-06-18 11:13:16 +02:00
Rules Simplify "AbstractComposite" class 2018-07-24 08:07:18 +02:00
Factory.php Refactor ValidationException 2018-05-27 16:12:05 +02:00
Validatable.php Add type hinting and return type to "setTemplate" 2018-06-01 10:46:51 +02:00
Validator.php Create "Subset" rule 2018-07-01 15:08:07 +02:00