AnnouncementService
class AnnouncementService implements ApplicationAwareInterface (View source)
Traits
Trait ApplicationAwareTrait A trait used with ApplicationAwareInterface
Properties
protected Application | $app | from ApplicationAwareTrait | |
protected EntityManager | $entityManager | ||
protected Checker | $checker | ||
protected User | $user |
Methods
createAnnouncementIfNotExists(string $handle)
No description
array
BroadcastInterface|null
getBroadcast()
No description
Details
setApplication(Application $app)
Setter method for the application
Announcement
createAnnouncementIfNotExists(string $handle)
No description
protected array
getAnnouncementsForUser(User $user)
No description
BroadcastInterface|null
getBroadcast()
No description
markAnnouncementAsViewed(string $announcementHandle, User $user)
No description