Пример #1
0
 public function __construct(int $precision = 10, bool $unsigned = true)
 {
     $opts = [];
     if ($unsigned) {
         $opts[] = Options::OPT_UNSIGNED;
     }
     parent::__construct('integer', new Options($opts), $precision);
 }
Пример #2
0
 public function __construct()
 {
     parent::__construct('datetime', new Options([]), null);
 }
Пример #3
0
 public function __construct()
 {
     parent::__construct('boolean', new Options([]), null);
 }