Menu

## AdminPolicy
in package
uses HandlesAuthorization

AdminPolicy.php : 8

### Table of Contents

#### Methods

create() : mixed
  Determine whether the user can create models.
delete() : mixed
  Determine whether the user can delete the model.
forceDelete() : mixed
  Determine whether the user can permanently delete the model.
restore() : mixed
  Determine whether the user can restore the model.
update() : mixed
  Determine whether the user can update the model.
view() : mixed
  Determine whether the user can view the model.
viewAny() : mixed
  Determine whether the user can view any models.

### Methods

#### create()

AdminPolicy.php : 43

Determine whether the user can create models.

`public create(User $user) : mixed`

##### Parameters

$user : User

#### delete()

AdminPolicy.php : 69

Determine whether the user can delete the model.

`public delete(User $user, User $model) : mixed`

##### Parameters

$user : User
$model : User

#### forceDelete()

AdminPolicy.php : 93

Determine whether the user can permanently delete the model.

`public forceDelete(User $user, User $model) : mixed`

##### Parameters

$user : User
$model : User

#### restore()

AdminPolicy.php : 81

Determine whether the user can restore the model.

`public restore(User $user, User $model) : mixed`

##### Parameters

$user : User
$model : User

#### update()

AdminPolicy.php : 56

Determine whether the user can update the model.

`public update(User $user, User $model) : mixed`

##### Parameters

$user : User
$model : User

#### view()

AdminPolicy.php : 31

Determine whether the user can view the model.

`public view(User $user, User $model) : mixed`

##### Parameters

$user : User
$model : User

#### viewAny()

AdminPolicy.php : 18

Determine whether the user can view any models.

`public viewAny(User $user) : mixed`

##### Parameters

$user : User

## Search results