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): string

Maps a camel-case parameter to its database column spelling.

Parameters

$inputstring

Returns

string
Test cases 1
Called from 1
Calls 2
public function toCamelCase(string $input): string

Maps a database column spelling to a PHP property name.

Parameters

$inputstring

Returns

string
Test cases 1
Called from 1
Calls 3

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

Relations§

Instantiated in 2
Method calls 2