@@ -10,14 +10,14 @@ |
||
10 | 10 | class TaskInterationService |
11 | 11 | { |
12 | 12 | |
13 | - public function __construct( |
|
13 | + public function __construct( |
|
14 | 14 | private EntityManagerInterface $manager, |
15 | 15 | private Security $security |
16 | - ) {} |
|
16 | + ) {} |
|
17 | 17 | |
18 | - public function beforePersist(TaskInteration $taskInteration) |
|
19 | - { |
|
18 | + public function beforePersist(TaskInteration $taskInteration) |
|
19 | + { |
|
20 | 20 | $taskInteration->setRegisteredBy($this->security->getUser()->getPeople()); |
21 | 21 | return $taskInteration; |
22 | - } |
|
22 | + } |
|
23 | 23 | } |