Libraries tagged by precondition
widoz/event-listeners-collection
0 Favers
2 Downloads
2 Downloads
A collection of event listeners wrapper, allowing to decouple constraints and preconditions from the listener logic.
yngc0der/bitrix-phpcondition
3 Favers
24 Downloads
24 Downloads
"PHP code" discount condition feature
mouf/utils.common.conditioninterface
3 Favers
468248 Downloads
468248 Downloads
This package contains one interface for condition, and a few classes that implement it. For instance, AndCondition that requires all conditions to be met, and OrCondition that requires at least one condition to be met. A condition is a class that possesses an 'isOk' method. The condition returns true if the condition is met, and false otherwise.