Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
Total | |
0.00% |
0 / 2 |
|
0.00% |
0 / 2 |
CRAP | |
0.00% |
0 / 1 |
SavedPromptsService | |
0.00% |
0 / 2 |
|
0.00% |
0 / 2 |
6 | |
0.00% |
0 / 1 |
__construct | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
update | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 |
1 | <?php |
2 | |
3 | namespace App\Http\Services; |
4 | |
5 | use App\Http\Models\FlyMsgAI\SavedPrompt; |
6 | use App\Http\Repositories\interfaces\ISavedPromptRepository; |
7 | |
8 | class SavedPromptsService |
9 | { |
10 | public function __construct( |
11 | private ISavedPromptRepository $savedPromptRepository |
12 | ) {} |
13 | |
14 | public function update($id, array $data) |
15 | { |
16 | return $this->savedPromptRepository->update($id, $data); |
17 | } |
18 | } |