public function CamelCaseToSnakeCaseNameConverter::__construct in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/serializer/NameConverter/CamelCaseToSnakeCaseNameConverter.php \Symfony\Component\Serializer\NameConverter\CamelCaseToSnakeCaseNameConverter::__construct()
Parameters
null|array $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 34
Class
- CamelCaseToSnakeCaseNameConverter
- CamelCase to Underscore name converter.
Namespace
Symfony\Component\Serializer\NameConverterCode
public function __construct(array $attributes = null, $lowerCamelCase = true) {
$this->attributes = $attributes;
$this->lowerCamelCase = $lowerCamelCase;
}