D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
opt
/
psa
/
admin
/
plib
/
vendor
/
jms
/
serializer
/
src
/
Naming
/
Filename :
PropertyNamingStrategyInterface.php
back
Copy
<?php declare(strict_types=1); namespace JMS\Serializer\Naming; use JMS\Serializer\Metadata\PropertyMetadata; /** * Interface for property naming strategies. * * Implementations translate the property name to a serialized name that is * displayed. * * @author Johannes M. Schmitt <schmittjoh@gmail.com> */ interface PropertyNamingStrategyInterface { /** * Translates the name of the property to the serialized version. */ public function translateName(PropertyMetadata $property): string; }