web-base/core/Driver/SQL/Column/EnumColumn.class.php
2021-04-02 22:24:22 +02:00

16 lines
362 B
PHP

<?php
namespace Driver\SQL\Column;
class EnumColumn extends Column {
private array $values;
public function __construct(string $name, array $values, bool $nullable = false, $defaultValue = NULL) {
parent::__construct($name, $nullable, $defaultValue);
$this->values = $values;
}
public function getValues(): array { return $this->values; }
}