Menu

## StandardPolicy
in package
uses HandlesAuthorization

StandardPolicy.php : 9

### Table of Contents

#### Methods

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

### Methods

#### create()

StandardPolicy.php : 44

Determine whether the user can create standards.

`public create(User $user) : mixed`

##### Parameters

$user : User

#### delete()

StandardPolicy.php : 70

Determine whether the user can delete the standard.

`public delete(User $user, Standard $standard) : mixed`

##### Parameters

$user : User
$standard : Standard

#### forceDelete()

StandardPolicy.php : 94

Determine whether the user can permanently delete the standard.

`public forceDelete(User $user, Standard $standard) : mixed`

##### Parameters

$user : User
$standard : Standard

#### restore()

StandardPolicy.php : 82

Determine whether the user can restore the standard.

`public restore(User $user, Standard $standard) : mixed`

##### Parameters

$user : User
$standard : Standard

#### update()

StandardPolicy.php : 57

Determine whether the user can update the standard.

`public update(User $user, Standard $standard) : mixed`

##### Parameters

$user : User
$standard : Standard

#### view()

StandardPolicy.php : 32

Determine whether the user can view the standard.

`public view(User $user, Standard $standard) : mixed`

##### Parameters

$user : User
$standard : Standard

#### viewAny()

StandardPolicy.php : 19

Determine whether the user can view any standards.

`public viewAny(User $user) : mixed`

##### Parameters

$user : User

## Search results