Menu

## PlanPolicy
in package
uses HandlesAuthorization

PlanPolicy.php : 9

### Table of Contents

#### Methods

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

### Methods

#### create()

PlanPolicy.php : 44

Determine whether the user can create plans.

`public create(User $user) : mixed`

##### Parameters

$user : User

#### delete()

PlanPolicy.php : 70

Determine whether the user can delete the plan.

`public delete(User $user, Plan $plan) : mixed`

##### Parameters

$user : User
$plan : Plan

#### forceDelete()

PlanPolicy.php : 94

Determine whether the user can permanently delete the plan.

`public forceDelete(User $user, Plan $plan) : mixed`

##### Parameters

$user : User
$plan : Plan

#### restore()

PlanPolicy.php : 82

Determine whether the user can restore the plan.

`public restore(User $user, Plan $plan) : mixed`

##### Parameters

$user : User
$plan : Plan

#### update()

PlanPolicy.php : 57

Determine whether the user can update the plan.

`public update(User $user, Plan $plan) : mixed`

##### Parameters

$user : User
$plan : Plan

#### view()

PlanPolicy.php : 32

Determine whether the user can view the plan.

`public view(User $user, Plan $plan) : mixed`

##### Parameters

$user : User
$plan : Plan

#### viewAny()

PlanPolicy.php : 19

Determine whether the user can view any plans.

`public viewAny(User $user) : mixed`

##### Parameters

$user : User

## Search results