1 | <?php |
||
8 | final class EntityToIdConverter |
||
9 | { |
||
10 | /** @var ManagerRegistry */ |
||
11 | private $registry; |
||
12 | |||
13 | /** |
||
14 | * EntityToIdConverter constructor. |
||
15 | * |
||
16 | * @param ManagerRegistry $registry |
||
17 | */ |
||
18 | public function __construct(ManagerRegistry $registry) |
||
22 | |||
23 | /** |
||
24 | * @param $entity |
||
25 | * |
||
26 | * @return mixed|array |
||
27 | */ |
||
28 | public function convert($entity) |
||
41 | } |
||
42 |