| 1 | <?php |
||
| 22 | class Gallery implements ComponentInterface |
||
| 23 | { |
||
| 24 | public const ROLE = 'gallery'; |
||
| 25 | |||
| 26 | /** @var string */ |
||
| 27 | private $role = self::ROLE; |
||
| 28 | |||
| 29 | /** @var GalleryItem[] */ |
||
| 30 | private $items = []; |
||
| 31 | |||
| 32 | public function getRole(): string |
||
| 36 | |||
| 37 | public function getItems(): array |
||
| 41 | |||
| 42 | public function addItem(GalleryItem $galleryItem): void |
||
| 46 | } |
||
| 47 |