3 namespace wcf\system\database\table\column
;
6 * Every database table column whose values can be auto-incremented must implement this interface.
8 * @author Matthias Schmidt
9 * @copyright 2001-2019 WoltLab GmbH
10 * @license GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
11 * @package WoltLabSuite\Core\System\Database\Table\Column
14 interface IAutoIncrementDatabaseTableColumn
17 * Sets if the values of the database table column are auto-increment and returns this column.
21 public function autoIncrement(bool $autoIncrement = true): static;
24 * Returns `true` if the values of the database table column are auto-increment.
26 public function isAutoIncremented(): bool;