1 | <?php namespace Modules\Media\Services; |
||
10 | class FileService |
||
11 | { |
||
12 | use DispatchesJobs; |
||
13 | |||
14 | /** |
||
15 | * @var FileRepository |
||
16 | */ |
||
17 | private $file; |
||
18 | /** |
||
19 | * @var Factory |
||
20 | */ |
||
21 | private $filesystem; |
||
22 | |||
23 | public function __construct(FileRepository $file, Factory $filesystem) |
||
28 | |||
29 | /** |
||
30 | * @param UploadedFile $file |
||
31 | * @return mixed |
||
32 | */ |
||
33 | public function store(UploadedFile $file) |
||
48 | |||
49 | /** |
||
50 | * Create the necessary thumbnails for the given file |
||
51 | * @param $savedFile |
||
52 | */ |
||
53 | private function createThumbnails(File $savedFile) |
||
57 | |||
58 | /** |
||
59 | * @param string $path |
||
60 | * @return string |
||
61 | */ |
||
62 | private function getDestinationPath($path) |
||
70 | |||
71 | /** |
||
72 | * @return string |
||
73 | */ |
||
74 | private function getConfiguredFilesystem() |
||
78 | } |
||
79 |
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.