class ClientesPolicy

Traits

HandlesAuthorization

Methods

Response|bool
viewAny(User $user)

Determine whether the user can view any models.

Response|bool
view(User $user, Clientes $clientes)

Determine whether the user can view the model.

Response|bool
create(User $user)

Determine whether the user can create models.

Response|bool
update(User $user, Clientes $clientes)

Determine whether the user can update the model.

Response|bool
delete(User $user, Clientes $clientes)

Determine whether the user can delete the model.

Response|bool
restore(User $user, Clientes $clientes)

Determine whether the user can restore the model.

Response|bool
forceDelete(User $user, Clientes $clientes)

Determine whether the user can permanently delete the model.

Details

at line 19
Response|bool viewAny(User $user)

Determine whether the user can view any models.

Parameters

User $user

Return Value

Response|bool

at line 31
Response|bool view(User $user, Clientes $clientes)

Determine whether the user can view the model.

Parameters

User $user
Clientes $clientes

Return Value

Response|bool

at line 42
Response|bool create(User $user)

Determine whether the user can create models.

Parameters

User $user

Return Value

Response|bool

at line 54
Response|bool update(User $user, Clientes $clientes)

Determine whether the user can update the model.

Parameters

User $user
Clientes $clientes

Return Value

Response|bool

at line 66
Response|bool delete(User $user, Clientes $clientes)

Determine whether the user can delete the model.

Parameters

User $user
Clientes $clientes

Return Value

Response|bool

at line 78
Response|bool restore(User $user, Clientes $clientes)

Determine whether the user can restore the model.

Parameters

User $user
Clientes $clientes

Return Value

Response|bool

at line 90
Response|bool forceDelete(User $user, Clientes $clientes)

Determine whether the user can permanently delete the model.

Parameters

User $user
Clientes $clientes

Return Value

Response|bool