mediatekformation

CamelCaseToSnakeCaseNameConverter
in package
implements NameConverterInterface

CamelCase to Underscore name converter.

Tags
author

Kévin Dunglas dunglas@gmail.com

Interfaces, Classes, Traits and Enums

NameConverterInterface
Defines the interface for property name converters.

Table of Contents

$attributes  : mixed
$lowerCamelCase  : mixed
__construct()  : mixed
denormalize()  : string
Converts a property name to its denormalized value.
normalize()  : string
Converts a property name to its normalized value.

Properties

Methods

__construct()

public __construct([array<string|int, mixed>|null $attributes = null ][, bool $lowerCamelCase = true ]) : mixed
Parameters
$attributes : array<string|int, mixed>|null = null

The list of attributes to rename or null for all attributes

$lowerCamelCase : bool = true

Use lowerCamelCase style

Return values
mixed

denormalize()

Converts a property name to its denormalized value.

public denormalize(mixed $propertyName) : string
Parameters
$propertyName : mixed
Return values
string

normalize()

Converts a property name to its normalized value.

public normalize(mixed $propertyName) : string
Parameters
$propertyName : mixed
Return values
string

Search results