| Total Complexity | 2 |
| Total Lines | 17 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 20 | class SerializerFacade extends AbstractFacade |
||
| 21 | { |
||
| 22 | //ToDo: Support original feature scope ie. normalize attributes path |
||
| 23 | // see here https://symfony.com/doc/current/components/serializer.html |
||
| 24 | // https://jmsyst.com/libs/serializer |
||
| 25 | public function serialize(object|array $dto, string $format = SerializerConstants::FORMAT_JSON): string |
||
| 28 | // return $this->getFactory()->createSerializer()->serialize($dto, $format); |
||
| 29 | } |
||
| 30 | |||
| 31 | public function deserialize( |
||
| 40 |
This check looks for parameters that have been defined for a function or method, but which are not used in the method body.