abstract class AbstractController implements ControllerInterface, ApplicationAwareInterface (View source)

Traits

Trait ApplicationAwareTrait A trait used with ApplicationAwareInterface

Properties

protected Application $app from  ApplicationAwareTrait

Methods

setApplication(Application $app)

Setter method for the application

bool
shouldDisplayAnnouncementToUser(User $user, array $announcements)

Allows for additional filtering of announcements

onViewAnnouncement(User $user)

No description

mixed
createAnnouncementComponent(Announcement $announcement, array $slides)

No description

Details

setApplication(Application $app)

Setter method for the application

Parameters

Application $app

bool shouldDisplayAnnouncementToUser(User $user, array $announcements)

Allows for additional filtering of announcements

Parameters

User $user
array $announcements

Return Value

bool

onViewAnnouncement(User $user)

No description

Parameters

User $user

mixed createAnnouncementComponent(Announcement $announcement, array $slides)

No description

Parameters

Announcement $announcement
array $slides

Return Value

mixed