Exemple #1
0
 function __construct($value)
 {
     try {
         parent::__construct($value);
     } catch (\exception $exception) {
         throw new exception\domain('Type should be a string matching [a-zA-Z_\\x7f-\\xff][a-zA-Z0-9_\\x7f-\\xff]*');
     }
 }