3 namespace wcf\system\database\table\column
;
6 * Every database table column that supports specifying a predetermined set of valid values must
7 * implement this interface.
9 * @author Matthias Schmidt
10 * @copyright 2001-2019 WoltLab GmbH
11 * @license GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
12 * @package WoltLabSuite\Core\System\Database\Table\Column
15 interface IEnumDatabaseTableColumn
extends IDatabaseTableColumn
18 * Sets the predetermined set of valid values for the database table column and returns this
21 * @param string[] $values
24 public function enumValues(array $values): static;
27 * Returns the predetermined set of valid values for the database table column.
31 public function getEnumValues(): array;