1 | <?php |
||
10 | final class JmsDoctrineHandler |
||
11 | { |
||
12 | const TYPE = 'DoctrineAssociation'; |
||
13 | |||
14 | /** @var ManagerRegistry */ |
||
15 | private $registry; |
||
16 | /** @var EntityToIdNormalizer */ |
||
17 | private $converter; |
||
18 | |||
19 | /** |
||
20 | * JmsDoctrineHandler constructor. |
||
21 | * |
||
22 | * @param ManagerRegistry $registry |
||
23 | */ |
||
24 | 8 | public function __construct(ManagerRegistry $registry) |
|
29 | |||
30 | 8 | public function serializeRelation(VisitorInterface $visitor, $relation, array $type, Context $context) |
|
42 | |||
43 | public function deserializeRelation(VisitorInterface $visitor, $data, array $type, Context $context) |
||
52 | } |
||
53 |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.