classMissingConstructorArgumentException
final class MissingConstructorArgumentException
extends HydrationException
Fixture data cannot supply a required constructor argument.
Properties§
public string $classNamepublic string $parameterNameMethods§
public function __construct(public string $className, public string $parameterName)Fixture data cannot supply a required constructor argument.
Parameters
$className | string | |
$parameterName | string |
Calls 2
- static-call HydrationException::__construct() line 21
- function-call
sprintfline 21
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
PostgreSqlEndToEndTestcallsSqliteIntegrationTestcallsDatabaseFixtureProviderTestcallsFileFixtureProviderTestcallsRowMaterializerTestcallsPlanGeneratorTestcallsRowGenerationTestcallsFixtureGeneratorTestcallsFixtureProviderTestcallsClassNotFoundExceptionTestcallsHydrationExceptionTest::testReportsMissingConstructorArgumentcallsHydratorInterfaceTestcallsConstructorHydrationTestcallsPropertyHydrationTestcallsReflectionHydratorTest::testThrowsExceptionForMissingRequiredParametercallsSqlSchemaProviderTestcalls