classNullOverrideException
final class NullOverrideException
extends InvalidOverrideException
An override supplies null for a non-nullable column.
Properties§
public string $columnpublic TableSchema $schemaMethods§
public function __construct(public string $column, public TableSchema $schema)An override supplies null for a non-nullable column.
Parameters
$column | string | |
$schema | TableSchema |
Calls 2
- static-call InvalidOverrideException::__construct() line 22
- function-call
sprintfline 22
Test cases 17§
Test cases that cover or call this symbol, from the coverage report and from the analyzed test sources.
Dedicated tests 1
Other tests reaching this symbol 16
PostgreSqlEndToEndTestcallsSqliteIntegrationTestcallsDatabaseFixtureProviderTestcallsFileFixtureProviderTestcallsGeneratedColumnOverrideExceptionTestcallsUnknownOverrideColumnExceptionTestcallsRowMaterializerTestcallsPlanGeneratorTestcallsRowGenerationTestcallsOverrideValidatorTestcallsFixtureGeneratorTestcallsFixtureProviderTestcallsConstructorHydrationTestcallsPropertyHydrationTestcallsInvalidOverrideExceptionTest::testNotNullableSaysWhyNullIsRefusedcallsSqlSchemaProviderTestcalls