| @@ -1,18 +1,18 @@ | ||
| 1 | 1 | <?php |
| 2 | 2 | namespace Photonic_Plugin\Layouts; |
| 3 | 3 | |
| 4 | -use Photonic_Plugin\Modules\Core; | |
| 4 | +use Photonic_Plugin\Components\Photo_List; | |
| 5 | +use Photonic_Plugin\Platforms\Base; | |
| 5 | 6 | |
| 6 | 7 | interface Level_One_Gallery { |
| 7 | 8 | /** |
| 8 | - * Generates the HTML for the lowest level gallery, i.e. the photos. This is used for both, in-page and popup displays. | |
| 9 | + * Generates the HTML for the lowest level gallery, i.e. the photos. This is used for local, modal and template displays. | |
| 9 | 10 | * The code for the random layouts is handled in JS, but just the HTML markers for it are provided here. |
| 10 | 11 | * |
| 11 | - * @param $photos | |
| 12 | - * @param array $options | |
| 13 | - * @param $short_code | |
| 14 | - * @param $module Core | |
| 12 | + * @param Photo_List $photo_list | |
| 13 | + * @param array $short_code | |
| 14 | + * @param Base $module | |
| 15 | 15 | * @return string |
| 16 | 16 | */ |
| 17 | - function generate_level_1_gallery($photos, $options, $short_code, $module); | |
| 18 | -} | |
| 17 | + public function generate_level_1_gallery(Photo_List $photo_list, array $short_code, Base $module): string; | |
| 18 | +} | |