interface NameConverterInterface in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/serializer/NameConverter/NameConverterInterface.php \Symfony\Component\Serializer\NameConverter\NameConverterInterface
Defines the interface for property name converters.
@author Kévin Dunglas <dunglas@gmail.com>
Hierarchy
- interface \Symfony\Component\Serializer\NameConverter\NameConverterInterface
Expanded class hierarchy of NameConverterInterface
All classes that implement NameConverterInterface
2 files declare their use of NameConverterInterface
- AbstractNormalizer.php in vendor/
symfony/ serializer/ Normalizer/ AbstractNormalizer.php - ObjectNormalizer.php in vendor/
symfony/ serializer/ Normalizer/ ObjectNormalizer.php
File
- vendor/
symfony/ serializer/ NameConverter/ NameConverterInterface.php, line 19
Namespace
Symfony\Component\Serializer\NameConverterView source
interface NameConverterInterface {
/**
* Converts a property name to its normalized value.
*
* @param string $propertyName
*
* @return string
*/
public function normalize($propertyName);
/**
* Converts a property name to its denormalized value.
*
* @param string $propertyName
*
* @return string
*/
public function denormalize($propertyName);
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
NameConverterInterface:: |
public | function | Converts a property name to its denormalized value. | 1 |
NameConverterInterface:: |
public | function | Converts a property name to its normalized value. | 1 |