class Announcement implements AnnouncementInterface (View source)

Properties

protected SlideInterface $slides
protected string $announcementHandle

Methods

__construct(string $announcementHandle, $slides = [])

No description

addSlide(SlideInterface $slide)

No description

addSlides(array $slides)

No description

string
getAnnouncementHandle()

No description

array
getSlides()

No description

string
getComponent()

No description

jsonSerialize()

{@inheritdoc}

Details

__construct(string $announcementHandle, $slides = [])

No description

Parameters

string $announcementHandle
$slides

addSlide(SlideInterface $slide)

No description

Parameters

SlideInterface $slide

addSlides(array $slides)

No description

Parameters

array $slides

string getAnnouncementHandle()

No description

Return Value

string

array getSlides()

No description

Return Value

array

string getComponent()

No description

Return Value

string

jsonSerialize()

{@inheritdoc}

See also

\JsonSerializable::jsonSerialize()