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