示例#1
0
 function __construct($instance, $pattern)
 {
     parent::__construct($instance);
     $this->pattern = $pattern;
 }
示例#2
0
文件: Forbid.php 项目: bersace/strass
 function __construct($instance, $forbidden, $message = "La valeur donnée pour %s est interdite.")
 {
     parent::__construct($instance, $message);
     $this->forbidden = $forbidden;
 }
示例#3
0
 function __construct($instance, $ref)
 {
     parent::__construct($instance);
     $this->ref = $ref;
 }
示例#4
0
文件: Equal.php 项目: bersace/strass
 function __construct($instance, $ref, $silent = false)
 {
     parent::__construct($instance);
     $this->ref = $ref;
     $this->silent = $silent;
 }
示例#5
0
文件: Length.php 项目: bersace/strass
 function __construct($instance, $min = null, $max = null)
 {
     parent::__construct($instance);
     $this->min = $min;
     $this->max = $max;
 }