Menu

## StatePolicy
in package
uses HandlesAuthorization

StatePolicy.php : 9

### Table of Contents

#### Methods

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

### Methods

#### create()

StatePolicy.php : 44

Determine whether the user can create states.

`public create(User $user) : mixed`

##### Parameters

$user : User

#### delete()

StatePolicy.php : 69

Determine whether the user can delete the state.

`public delete(User $user, State $state) : mixed`

##### Parameters

$user : User
$state : State

#### forceDelete()

StatePolicy.php : 93

Determine whether the user can permanently delete the state.

`public forceDelete(User $user, State $state) : mixed`

##### Parameters

$user : User
$state : State

#### restore()

StatePolicy.php : 81

Determine whether the user can restore the state.

`public restore(User $user, State $state) : mixed`

##### Parameters

$user : User
$state : State

#### update()

StatePolicy.php : 56

Determine whether the user can update the state.

`public update(User $user, State $state) : mixed`

##### Parameters

$user : User
$state : State

#### view()

StatePolicy.php : 32

Determine whether the user can view the state.

`public view(User $user, State $state) : mixed`

##### Parameters

$user : User
$state : State

#### viewAny()

StatePolicy.php : 19

Determine whether the user can view any states.

`public viewAny(User $user) : mixed`

##### Parameters

$user : User

## Search results