예제 #1
0
파일: type.php 프로젝트: estvoyage/object
 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]*');
     }
 }