Menu

## SectionPolicy
in package
uses HandlesAuthorization

SectionPolicy.php : 9

### Table of Contents

#### Methods

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

### Methods

#### create()

SectionPolicy.php : 44

Determine whether the user can create sections.

`public create(User $user) : mixed`

##### Parameters

$user : User

#### delete()

SectionPolicy.php : 70

Determine whether the user can delete the section.

`public delete(User $user, Section $section) : mixed`

##### Parameters

$user : User
$section : Section

#### forceDelete()

SectionPolicy.php : 94

Determine whether the user can permanently delete the section.

`public forceDelete(User $user, Section $section) : mixed`

##### Parameters

$user : User
$section : Section

#### restore()

SectionPolicy.php : 82

Determine whether the user can restore the section.

`public restore(User $user, Section $section) : mixed`

##### Parameters

$user : User
$section : Section

#### update()

SectionPolicy.php : 57

Determine whether the user can update the section.

`public update(User $user, Section $section) : mixed`

##### Parameters

$user : User
$section : Section

#### view()

SectionPolicy.php : 32

Determine whether the user can view the section.

`public view(User $user, Section $section) : mixed`

##### Parameters

$user : User
$section : Section

#### viewAny()

SectionPolicy.php : 19

Determine whether the user can view any sections.

`public viewAny(User $user) : mixed`

##### Parameters

$user : User

## Search results