1 | <?php namespace App\Modules\Core\Utl; |
||
3 | class Media |
||
4 | { |
||
5 | /** |
||
6 | * Upload the given image. |
||
7 | * |
||
8 | * @param object $image |
||
9 | * @param string $dir |
||
10 | * @return string |
||
11 | */ |
||
12 | public function uploadImage($image, $dir) |
||
17 | |||
18 | /** |
||
19 | * Upload the given image. |
||
20 | * |
||
21 | * @param object $image |
||
22 | * @param string $dir |
||
23 | * @return string |
||
24 | */ |
||
25 | public function uploadImageBas64($image, $dir) |
||
36 | |||
37 | /** |
||
38 | * Delete the given image. |
||
39 | * |
||
40 | * @param object $path |
||
41 | * @return void |
||
42 | */ |
||
43 | public function deleteImage($path) |
||
47 | |||
48 | /** |
||
49 | * Save the given image. |
||
50 | * |
||
51 | * @param object $image |
||
52 | * @param string $dir |
||
53 | * @return string |
||
54 | */ |
||
55 | protected function saveImage($image, $dir) |
||
63 | } |
||
64 |
This check looks for calls to methods that do not seem to exist on a given type. It looks for the method on the type itself as well as in inherited classes or implemented interfaces.
This is most likely a typographical error or the method has been renamed.