Total Complexity | 4 |
Total Lines | 35 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
8 | class ImageService extends CRUDServices |
||
9 | { |
||
10 | protected Image $image; |
||
11 | |||
12 | public function __construct() |
||
20 | } |
||
21 | } |
||
22 | |||
23 | /** |
||
24 | * Retrieves an instance of image. |
||
25 | * |
||
26 | * @return \FaithGen\SDK\Models\Image |
||
27 | */ |
||
28 | public function getImage(): Image |
||
31 | } |
||
32 | |||
33 | /** |
||
34 | * Makes a list of fields that you do not want to be sent |
||
35 | * to the create or update methods. |
||
36 | * Its mainly the fields that you do not have in the messages table. |
||
37 | * |
||
38 | * @return array |
||
39 | */ |
||
40 | public function getUnsetFields(): array |
||
45 |