Example #1
0
 public function __construct($char = '')
 {
     parent::__construct();
     if (!Validator::isChar($char)) {
         throw new IllegalArgumentException();
     }
     $this->char = $char;
 }