| Total Complexity | 5 |
| Total Lines | 40 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 2 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 10 | class ObjectTransformer extends AbstractSerializerResponseTransformer |
||
| 11 | { |
||
| 12 | /** |
||
| 13 | * @param ResponseInterface|Response $response |
||
| 14 | * |
||
| 15 | * {@inheritdoc} |
||
| 16 | */ |
||
| 17 | 4 | public function transform(ResponseInterface $response, ContextInterface $context = null): void |
|
| 27 | 4 | } |
|
| 28 | |||
| 29 | /** |
||
| 30 | * @param ResponseInterface|Response $response |
||
| 31 | * |
||
| 32 | * {@inheritdoc} |
||
| 33 | */ |
||
| 34 | 5 | public function supports(ResponseInterface $response): bool |
|
| 40 | } |
||
| 41 | |||
| 42 | /** |
||
| 43 | * @param array $data |
||
| 44 | * |
||
| 45 | * @return bool |
||
| 46 | */ |
||
| 47 | 3 | protected function isSequential(array $data): bool |
|
| 52 |