| 1 | <?php |
||
| 5 | class ThumbnailManagerRepository implements ThumbnailManager |
||
| 6 | { |
||
| 7 | /** |
||
| 8 | * @var array |
||
| 9 | */ |
||
| 10 | private $thumbnails = []; |
||
| 11 | |||
| 12 | public function registerThumbnail($name, array $filters) |
||
| 16 | |||
| 17 | /** |
||
| 18 | * Return all registered thumbnails |
||
| 19 | * @return array |
||
| 20 | */ |
||
| 21 | public function all() |
||
| 25 | |||
| 26 | /** |
||
| 27 | * Find the filters for the given thumbnail |
||
| 28 | * @param $thumbnail |
||
| 29 | * @return array |
||
| 30 | */ |
||
| 31 | public function find($thumbnail) |
||
| 41 | } |
||
| 42 |