Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. CamelCaseToSnakeCaseNameConverter.php

function CamelCaseToSnakeCaseNameConverter::__construct

Parameters

string[]|null $attributes The list of attributes to rename or null for all attributes:

bool $lowerCamelCase Use lowerCamelCase style:

File

vendor/symfony/serializer/NameConverter/CamelCaseToSnakeCaseNameConverter.php, line 33

Class

CamelCaseToSnakeCaseNameConverter
CamelCase to Underscore name converter.

Namespace

Symfony\Component\Serializer\NameConverter

Code

public function __construct(?array $attributes = null, bool $lowerCamelCase = true) {
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal