예제 #1
0
파일: Min.php 프로젝트: rukzuk/rukzuk
 /**
  * Callback used on remove this attribute from an input
  *
  * @param Input $input The input from the attribute will be removed
  */
 public static function onRemove(Input $input)
 {
     $input->removeValidator('min');
 }
예제 #2
0
파일: Required.php 프로젝트: rukzuk/rukzuk
 /**
  * Callback used on remove this attribute from an input
  *
  * @param Input $input The input from the attribute will be removed
  */
 public static function onRemove(Input $input)
 {
     $input->removeValidator('required');
 }