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