1 | <?php namespace Modules\Media\Image; |
||
5 | class ThumbnailsManager |
||
6 | { |
||
7 | /** |
||
8 | * @var Module |
||
9 | */ |
||
10 | private $module; |
||
11 | /** |
||
12 | * @var Repository |
||
13 | */ |
||
14 | private $config; |
||
15 | |||
16 | /** |
||
17 | * @param Repository $config |
||
18 | */ |
||
19 | public function __construct(Repository $config) |
||
24 | |||
25 | /** |
||
26 | * Return all thumbnails for all modules |
||
27 | * @return array |
||
28 | */ |
||
29 | public function all() |
||
41 | |||
42 | /** |
||
43 | * Find the filters for the given thumbnail |
||
44 | * @param $thumbnail |
||
45 | * @return array |
||
46 | */ |
||
47 | public function find($thumbnail) |
||
57 | } |
||
58 |