interface AdvancedNameConverterInterface
Gives access to the class, the format and the context in the property name converters.
@author Kévin Dunglas <dunglas@gmail.com>
Hierarchy
- interface \Symfony\Component\Serializer\NameConverter\NameConverterInterface
- interface \Symfony\Component\Serializer\NameConverter\AdvancedNameConverterInterface extends \Symfony\Component\Serializer\NameConverter\NameConverterInterface
Expanded class hierarchy of AdvancedNameConverterInterface
All classes that implement AdvancedNameConverterInterface
Deprecated
since Symfony 7.2, use NameConverterInterface instead
File
-
vendor/
symfony/ serializer/ NameConverter/ AdvancedNameConverterInterface.php, line 21
Namespace
Symfony\Component\Serializer\NameConverterView source
interface AdvancedNameConverterInterface extends NameConverterInterface {
public function normalize(string $propertyName, ?string $class = null, ?string $format = null, array $context = []) : string;
public function denormalize(string $propertyName, ?string $class = null, ?string $format = null, array $context = []) : string;
}
Members
Title Sort descending | Modifiers | Object type | Summary | Overriden Title | Overrides |
---|---|---|---|---|---|
AdvancedNameConverterInterface::denormalize | public | function | Converts a property name to its denormalized value. | Overrides NameConverterInterface::denormalize | 1 |
AdvancedNameConverterInterface::normalize | public | function | Converts a property name to its normalized value. | Overrides NameConverterInterface::normalize | 1 |