Chris@0: Chris@0: * Chris@0: * For the full copyright and license information, please view the LICENSE Chris@0: * file that was distributed with this source code. Chris@0: */ Chris@0: Chris@0: namespace Symfony\Component\Serializer\NameConverter; Chris@0: Chris@0: /** Chris@0: * Defines the interface for property name converters. Chris@0: * Chris@0: * @author Kévin Dunglas Chris@0: */ Chris@0: interface NameConverterInterface Chris@0: { Chris@0: /** Chris@0: * Converts a property name to its normalized value. Chris@0: * Chris@0: * @param string $propertyName Chris@0: * Chris@0: * @return string Chris@0: */ Chris@0: public function normalize($propertyName); Chris@0: Chris@0: /** Chris@0: * Converts a property name to its denormalized value. Chris@0: * Chris@0: * @param string $propertyName Chris@0: * Chris@0: * @return string Chris@0: */ Chris@0: public function denormalize($propertyName); Chris@0: }