Menu

## SchoolPolicy
in package
uses HandlesAuthorization

SchoolPolicy.php : 9

### Table of Contents

#### Methods

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

### Methods

#### create()

SchoolPolicy.php : 44

Determine whether the user can create schools.

`public create(User $user) : mixed`

##### Parameters

$user : User

#### delete()

SchoolPolicy.php : 70

Determine whether the user can delete the school.

`public delete(User $user, School $school) : mixed`

##### Parameters

$user : User
$school : School

#### forceDelete()

SchoolPolicy.php : 94

Determine whether the user can permanently delete the school.

`public forceDelete(User $user, School $school) : mixed`

##### Parameters

$user : User
$school : School

#### restore()

SchoolPolicy.php : 82

Determine whether the user can restore the school.

`public restore(User $user, School $church) : mixed`

##### Parameters

$user : User
$church : School

#### update()

SchoolPolicy.php : 57

Determine whether the user can update the school.

`public update(User $user, School $school) : mixed`

##### Parameters

$user : User
$school : School

#### view()

SchoolPolicy.php : 32

Determine whether the user can view the school.

`public view(User $user, School $school) : mixed`

##### Parameters

$user : User
$school : School

#### viewAny()

SchoolPolicy.php : 19

Determine whether the user can view any schools.

`public viewAny(User $user) : mixed`

##### Parameters

$user : User

## Search results