Example #1
0
 /**
  * Constructor
  *
  * @param string $message validation fail message
  */
 public function __construct($message)
 {
     parent::__construct($message, '/\\d{5}-\\d{3}/');
 }
 /**
  * Constructor
  *
  * @param string $message validation fail message
  */
 public function __construct($message)
 {
     parent::__construct($message, '/\\(\\d{2}\\) \\d{8,9}/');
 }