ConstraintHelper 추가

This commit is contained in:
2018-11-15 03:33:44 +09:00
parent 0c5d62a0dd
commit 76079f24c0
44 changed files with 588 additions and 168 deletions
+1 -1
View File
@@ -3,7 +3,7 @@
namespace sammo\Constraint;
class NotCapital extends Constraint{
const REQ_VALUES = Constraint::REQ_GENERAL|Constraint::REQ_NATION|Constraint::REQ_INT_ARG;
const REQ_VALUES = Constraint::REQ_GENERAL|Constraint::REQ_NATION|Constraint::REQ_BOOLEAN_ARG;
public function checkInputValues(bool $throwExeception=true){
if(!parent::checkInputValues($throwExeception) && !$throwException){