1 | <?php |
||
16 | trait NamingStrategyTrait |
||
17 | { |
||
18 | /** |
||
19 | * Настройки переданные при создание |
||
20 | * |
||
21 | * @return array |
||
22 | */ |
||
23 | abstract public function getCreationOptions(); |
||
24 | |||
25 | |||
26 | /** |
||
27 | * Возвращает стратегию для работы с именами свойств объектов |
||
28 | * |
||
29 | * @param ServiceLocatorInterface $serviceLocator |
||
30 | * |
||
31 | * @return PropertyNamingStrategyInterface |
||
32 | * @throws \Nnx\JmsSerializerModule\Visitor\Exception\RuntimeException |
||
33 | * @throws \Zend\ServiceManager\Exception\ServiceNotFoundException |
||
34 | */ |
||
35 | protected function getNamingStrategyFromContainer(ServiceLocatorInterface $serviceLocator) |
||
47 | } |
||
48 |