1 | <?php |
||
12 | class DoctrineUserManager implements UserManagerInterface |
||
13 | { |
||
14 | /** |
||
15 | * @var ManagerRegistry |
||
16 | */ |
||
17 | private $doctrine; |
||
18 | |||
19 | /** |
||
20 | * @param ManagerRegistry $doctrine |
||
21 | */ |
||
22 | 5 | public function __construct(ManagerRegistry $doctrine) |
|
26 | |||
27 | /** |
||
28 | * @inheritDoc |
||
29 | */ |
||
30 | 2 | public function supportsClass($class) |
|
40 | |||
41 | /** |
||
42 | * @inheritDoc |
||
43 | */ |
||
44 | 2 | public function supportsUser($user) |
|
50 | |||
51 | /** |
||
52 | * @inheritDoc |
||
53 | */ |
||
54 | 1 | public function get($class, $id) |
|
58 | |||
59 | /** |
||
60 | * @inheritDoc |
||
61 | */ |
||
62 | 4 | public function getClass($user) |
|
66 | |||
67 | /** |
||
68 | * @inheritDoc |
||
69 | */ |
||
70 | 1 | public function getId($user) |
|
81 | |||
82 | /** |
||
83 | * @param string $class |
||
84 | * |
||
85 | * @return ObjectManager |
||
86 | */ |
||
87 | 4 | private function getManagerFor($class) |
|
102 | } |
||
103 |