Minor dependency updates
[yaffs-website] / vendor / symfony / serializer / NameConverter / NameConverterInterface.php
1 <?php
2
3 /*
4  * This file is part of the Symfony package.
5  *
6  * (c) Fabien Potencier <fabien@symfony.com>
7  *
8  * For the full copyright and license information, please view the LICENSE
9  * file that was distributed with this source code.
10  */
11
12 namespace Symfony\Component\Serializer\NameConverter;
13
14 /**
15  * Defines the interface for property name converters.
16  *
17  * @author Kévin Dunglas <dunglas@gmail.com>
18  */
19 interface NameConverterInterface
20 {
21     /**
22      * Converts a property name to its normalized value.
23      *
24      * @param string $propertyName
25      *
26      * @return string
27      */
28     public function normalize($propertyName);
29
30     /**
31      * Converts a property name to its denormalized value.
32      *
33      * @param string $propertyName
34      *
35      * @return string
36      */
37     public function denormalize($propertyName);
38 }