classPropertyNames
final class PropertyNames
Restricted visibility: declared "@visibility root". Code outside that scope must not name this declaration.
Maps database names to constructor or property names.
Methods§
public function toSnakeCase(string $input): stringMaps a camel-case parameter to its database column spelling.
Parameters
$input | string |
Returns
stringTest cases 1
Called from 1
public function toCamelCase(string $input): stringMaps a database column spelling to a PHP property name.
Parameters
$input | string |
Returns
stringTest cases 1
Called from 1
Test cases 16§
Test cases that cover or call this symbol, from the coverage report and from the analyzed test sources.
Dedicated tests 2
Other tests reaching this symbol 14
PostgreSqlEndToEndTestcallsSqliteIntegrationTestcallsDatabaseFixtureProviderTestcallsFileFixtureProviderTestcallsRowMaterializerTestcallsPlanGeneratorTestcallsRowGenerationTestcallsFixtureGeneratorTestcallsFixtureProviderTestcallsHydratorInterfaceTestcallsConstructorHydrationTestcallsPropertyHydrationTestcallsReflectionHydratorTestcallsSqlSchemaProviderTestcalls
Relations§
Instantiated in 2
Method calls 2
- method-call SqlFixture\Hydrator\Reflection\ConstructorHydration::hydrateViaConstructor() packages/sql-fixture/src/Hydrator/Reflection/ConstructorHydration.php:36
- method-call SqlFixture\Hydrator\Reflection\PropertyHydration::hydrateViaProperties() packages/sql-fixture/src/Hydrator/Reflection/PropertyHydration.php:30