| @@ -1,8 +1,9 @@ | ||
| 1 | 1 | <?php |
| 2 | 2 | namespace Photonic_Plugin\Layouts; |
| 3 | 3 | |
| 4 | -use Photonic_Plugin\Modules\Core; | |
| 4 | +use Photonic_Plugin\Components\Album_List; | |
| 5 | +use Photonic_Plugin\Platforms\Base; | |
| 5 | 6 | |
| 6 | 7 | interface Level_Two_Gallery { |
| 7 | 8 | /** |
| 8 | 9 | * Generates the HTML for a group of level-2 items, i.e. Photosets (Albums) and Galleries for Flickr, Albums for Google Photos, |
| @@ -8,12 +9,11 @@ | ||
| 8 | 9 | * Generates the HTML for a group of level-2 items, i.e. Photosets (Albums) and Galleries for Flickr, Albums for Google Photos, |
| 9 | 10 | * Albums for SmugMug, and Photosets (Galleries and Collections) for Zenfolio. No concept of albums |
| 10 | 11 | * exists in native WP and Instagram. |
| 11 | 12 | * |
| 12 | - * @param $objects | |
| 13 | - * @param $options | |
| 14 | - * @param $short_code | |
| 15 | - * @param $module Core | |
| 13 | + * @param Album_List $album_list | |
| 14 | + * @param array $short_code | |
| 15 | + * @param $module Base | |
| 16 | 16 | * @return string |
| 17 | 17 | */ |
| 18 | - function generate_level_2_gallery($objects, $options, $short_code, $module); | |
| 19 | -} | |
| 18 | + public function generate_level_2_gallery(Album_List $album_list, array $short_code, Base $module): string; | |
| 19 | +} | |