|
@@ -0,0 +1,13 @@
|
|
|
+<?php
|
|
|
+namespace JMS\Serializer\Serializer\Naming;
|
|
|
+
|
|
|
+use JMS\Serializer\Naming\PropertyNamingStrategyInterface;
|
|
|
+use JMS\Serializer\Metadata\PropertyMetadata;
|
|
|
+
|
|
|
+class PropertyNamingStrategy implements PropertyNamingStrategyInterface
|
|
|
+{
|
|
|
+ public function translateName(PropertyMetadata $property)
|
|
|
+ {
|
|
|
+ return $property->name;
|
|
|
+ }
|
|
|
+}
|