WelcomeController
class WelcomeController extends AbstractController (View source)
Traits
Trait ApplicationAwareTrait A trait used with ApplicationAwareInterface
Properties
protected Application | $app | from ApplicationAwareTrait | |
protected Repository | $config | ||
protected WelcomeItemFactory | $itemFactory | ||
protected Token | $token |
Methods
Details
setApplication(Application $app)
Setter method for the application
bool
shouldDisplayAnnouncementToUser(User $user)
Allows for additional filtering of announcements
onViewAnnouncement(User $user)
No description
mixed
createAnnouncementComponent(Announcement $announcement, array $slides)
No description
SlideInterface
getSlide(User $user)
No description
array
getSlides(User $user)
No description
__construct(Token $token, Repository $config, WelcomeItemFactory $itemFactory)
No description