web-base/core/Driver/SQL/Column/StringColumn.class.php

15 lines
344 B
PHP
Raw Normal View History

2020-04-02 00:02:51 +02:00
<?php
namespace Driver\SQL\Column;
class StringColumn extends Column {
2020-04-03 17:39:58 +02:00
private ?int $maxSize;
2020-04-02 00:02:51 +02:00
public function __construct($name, $maxSize=null, $nullable=false, $defaultValue=null) {
parent::__construct($name, $nullable, $defaultValue);
$this->maxSize = $maxSize;
}
public function getMaxSize() { return $this->maxSize; }
2020-04-03 17:39:58 +02:00
}