class SystemMessagePolicy

Traits

HandlesAuthorization

Methods

mixed
create(User$user)

Determine whether the user can create systemMessages.

mixed
update(User$user,SystemMessage$systemMessage)

Determine whether the user can update the systemMessage.

mixed
destroy(User$user,SystemMessage$systemMessage)

Determine whether the user can delete the systemMessage.

Details

at line19
mixed create(User$user)

Determine whether the user can create systemMessages.

Parameters

User $user

Return Value

mixed

at line31
mixed update(User$user,SystemMessage$systemMessage)

Determine whether the user can update the systemMessage.

Parameters

User $user
SystemMessage $systemMessage

Return Value

mixed

at line43
mixed destroy(User$user,SystemMessage$systemMessage)

Determine whether the user can delete the systemMessage.

Parameters

User $user
SystemMessage $systemMessage

Return Value

mixed