Total Complexity | 3 |
Total Lines | 29 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
5 | class MediaImageResource extends MediaResource |
||
6 | { |
||
7 | /** |
||
8 | * Transform the resource into an array. |
||
9 | * |
||
10 | * @param \Illuminate\Http\Request $request |
||
11 | * @return array |
||
12 | */ |
||
13 | public function toArray($request): array |
||
22 | } |
||
23 | |||
24 | /** |
||
25 | * Adds the conversions to the data that is being returned as array. |
||
26 | * |
||
27 | * @param array &$data |
||
28 | * @return void |
||
29 | */ |
||
30 | public function addConversions(array &$data): void |
||
37 |