1 | <?php |
||
5 | final class PublicPropertyMapper implements PropertyMapperInterface |
||
6 | { |
||
7 | /** @var \ReflectionClass[] */ |
||
8 | private $reflections = []; |
||
9 | |||
10 | /** {@inheritdoc} */ |
||
11 | 2 | public function getEntityProperty($className, $apiProperty) |
|
19 | |||
20 | /** {@inheritdoc} */ |
||
21 | public function getApiProperty($className, $objectProperty) |
||
29 | |||
30 | /** {@inheritdoc} */ |
||
31 | 2 | public function getApiProperties($className) |
|
35 | |||
36 | /** {@inheritdoc} */ |
||
37 | 2 | public function getEntityProperties($className) |
|
44 | |||
45 | /** |
||
46 | * @param $className |
||
47 | * |
||
48 | * @return \ReflectionClass |
||
49 | */ |
||
50 | 2 | private function getReflection($className) |
|
58 | |||
59 | 2 | private function getPropertyName(\ReflectionProperty $property) |
|
63 | } |
||
64 |