1 | <?php |
||
11 | class TenantsMediaController extends AuthenticatedController |
||
12 | { |
||
13 | /** |
||
14 | * {@inheritdoc} |
||
15 | */ |
||
16 | protected $resource = Tenant::class; |
||
17 | |||
18 | /** |
||
19 | * {@inheritdoc} |
||
20 | */ |
||
21 | public function authorizeResource($model, $parameter = null, array $options = [], $request = null): void |
||
37 | /** |
||
38 | * Destroy given tenant media. |
||
39 | * |
||
40 | * @param \Spatie\MediaLibrary\Models\Media $media |
||
41 | * |
||
42 | * @return \Illuminate\Http\JsonResponse|\Illuminate\Http\RedirectResponse |
||
43 | */ |
||
44 | public function destroy(Media $media) |
||
54 | } |
||
55 |
This function has been deprecated. The supplier of the file has supplied an explanatory message.
The explanatory message should give you some clue as to whether and when the function will be removed from the class and what other function to use instead.