X-Git-Url: http://www.aleph1.co.uk/gitweb/?a=blobdiff_plain;ds=sidebyside;f=vendor%2Fsymfony%2Fserializer%2FNameConverter%2FNameConverterInterface.php;fp=vendor%2Fsymfony%2Fserializer%2FNameConverter%2FNameConverterInterface.php;h=c9f66b029a9e97cdcbe147a410eb25caf017452d;hb=a2bd1bf0c2c1f1a17d188f4dc0726a45494cefae;hp=0000000000000000000000000000000000000000;hpb=57c063afa3f66b07c4bbddc2d6129a96d90f0aad;p=yaffs-website diff --git a/vendor/symfony/serializer/NameConverter/NameConverterInterface.php b/vendor/symfony/serializer/NameConverter/NameConverterInterface.php new file mode 100644 index 000000000..c9f66b029 --- /dev/null +++ b/vendor/symfony/serializer/NameConverter/NameConverterInterface.php @@ -0,0 +1,38 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace Symfony\Component\Serializer\NameConverter; + +/** + * Defines the interface for property name converters. + * + * @author Kévin Dunglas + */ +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); +}