classMissingPrimaryKeyException
final class MissingPrimaryKeyException
extends SimulationException
Exception thrown when an UPDATE result cannot be matched to a shadow row.
Methods§
public function __construct(string $tableName)Binds the instance to what it will work from.
Parameters
$tableName | string |
Test cases 1
Calls 1
- static-call SimulationException::__construct() line 21
public function getTableName(): stringAnswers table name.
Returns
stringTest cases 1
MissingPrimaryKeyExceptionTest::testGetTableNameCarriesTableContextcovers and calls
Private surface 1§
Implementation details, listed for orientation only.
private string $tableNameTest cases 3§
Test cases that cover or call this symbol, from the coverage report and from the analyzed test sources.
Dedicated tests 1
MissingPrimaryKeyExceptionTest::testGetTableNameCarriesTableContextcovers and calls