Esempio n. 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);
 }
Esempio n. 2
0
 public function __construct()
 {
     parent::__construct('datetime', new Options([]), null);
 }
Esempio n. 3
0
 public function __construct()
 {
     parent::__construct('boolean', new Options([]), null);
 }