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

14 lines
315 B
PHP

<?php
namespace Driver\SQL\Constraint;
abstract class Constraint {
private array $columnNames;
public function __construct($columnNames) {
$this->columnNames = (!is_array($columnNames) ? array($columnNames) : $columnNames);
}
public function getColumnNames(): array { return $this->columnNames; }
}