Total Complexity | 4 |
Total Lines | 18 |
Duplicated Lines | 0 % |
Coverage | 0% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
24 | class UserDataProvider implements ItemDataProviderInterface, RestrictedDataProviderInterface |
||
25 | { |
||
26 | private UserRepositoryInterface $userRepository; |
||
27 | |||
28 | public function __construct(UserRepositoryInterface $userRepository) |
||
31 | } |
||
32 | |||
33 | public function supports(string $resourceClass, string $operationName = null, array $context = []): bool |
||
37 | } |
||
38 | |||
39 | public function getItem(string $resourceClass, $id, string $operationName = null, array $context = []) |
||
44 |