Exemple #1
0
 public function __construct()
 {
     parent::__construct('Name', "/^[A-Za-z']+\$/");
 }
Exemple #2
0
 public function __construct()
 {
     parent::__construct('Zip', "/^\\d{5}(-\\d{4})?\$/");
 }
Exemple #3
0
 public function __construct()
 {
     parent::__construct('Price', '/^\\d+\\.\\d{2}$/');
 }