class AnnouncementPolicy

Traits

HandlesAuthorization

Methods

mixed
create(User $user)

Determine whether the user can create announcements.

mixed
destroy(User $user, Announcement $announcement)

Determine whether the user can delete the announcement.

Details

at line 19
mixed create(User $user)

Determine whether the user can create announcements.

Parameters

User $user

Return Value

mixed

at line 31
mixed destroy(User $user, Announcement $announcement)

Determine whether the user can delete the announcement.

Parameters

User $user
Announcement $announcement

Return Value

mixed