final class ColumnAlreadyExistsException
    extends SimulationException

Exception thrown when attempting to add a column that already exists.

Methods§

public function __construct(string $sql, string $tableName, string $columnName)

Parameters

$sqlstringThe SQL statement.
$tableNamestringThe name of the table.
$columnNamestringThe name of the column that already exists.
Test cases 4
Calls 2
public function getSql(): string

Get the SQL statement.

Returns

string
Test cases 1
public function getTableName(): string

Get the name of the table.

Returns

string
Test cases 1
public function getColumnName(): string

Get the name of the column that already exists.

Returns

string
Test cases 1

Private surface 3§

Implementation details, listed for orientation only.

private string $sql
private string $tableName
private string $columnName

Test cases 4§

Test cases that cover or call this symbol, from the coverage report and from the analyzed test sources.

Dedicated tests 4