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

16 lines
333 B
PHP
Raw Normal View History

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