final class TableAlreadyExistsException
    extends SimulationException

Exception thrown when attempting to create a table that already exists.

Methods§

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

Parameters

$sqlstringThe SQL statement.
$tableNamestringThe name of the table that already exists.
Test cases 3
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 that already exists.

Returns

string
Test cases 1

Private surface 2§

Implementation details, listed for orientation only.

private string $sql
private string $tableName

Test cases 4§

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

Dedicated tests 3
Other tests reaching this symbol 1

Relations§

Instantiated in 1