Namespace and ClassPath rewrites
This commit is contained in:
15
Core/Driver/SQL/Column/StringColumn.class.php
Normal file
15
Core/Driver/SQL/Column/StringColumn.class.php
Normal file
@@ -0,0 +1,15 @@
|
||||
<?php
|
||||
|
||||
namespace Core\Driver\SQL\Column;
|
||||
|
||||
class StringColumn extends Column {
|
||||
|
||||
private ?int $maxSize;
|
||||
|
||||
public function __construct(string $name, ?int $maxSize = null, bool $nullable = false, $defaultValue = null) {
|
||||
parent::__construct($name, $nullable, $defaultValue);
|
||||
$this->maxSize = $maxSize;
|
||||
}
|
||||
|
||||
public function getMaxSize(): ?int { return $this->maxSize; }
|
||||
}
|
||||
Reference in New Issue
Block a user