4 * This file is part of the Symfony package.
6 * (c) Fabien Potencier <fabien@symfony.com>
8 * For the full copyright and license information, please view the LICENSE
9 * file that was distributed with this source code.
12 namespace Symfony\Component\Serializer\NameConverter;
15 * Defines the interface for property name converters.
17 * @author Kévin Dunglas <dunglas@gmail.com>
19 interface NameConverterInterface
22 * Converts a property name to its normalized value.
24 * @param string $propertyName
28 public function normalize($propertyName);
31 * Converts a property name to its denormalized value.
33 * @param string $propertyName
37 public function denormalize($propertyName);