| Total Complexity | 4 |
| Total Lines | 25 |
| Duplicated Lines | 0 % |
| Changes | 2 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 11 | final class LessonCompletedProcessor |
||
| 12 | { |
||
| 13 | private $userLessonRepository; |
||
| 14 | private $security; |
||
| 15 | |||
| 16 | public function __construct( |
||
| 17 | UserLessonRepositoryInterface $userLessonRepository, |
||
| 18 | Security $security |
||
| 19 | ) { |
||
| 20 | $this->userLessonRepository = $userLessonRepository; |
||
| 21 | $this->security = $security; |
||
| 22 | } |
||
| 23 | |||
| 24 | public function process(object $object, array $data): array |
||
| 36 | } |
||
| 37 | } |
||
| 38 |