Menu

## TeacherProfilePolicy
in package
uses HandlesAuthorization

TeacherProfilePolicy.php : 9

### Table of Contents

#### Methods

create() : mixed
  Determine whether the user can create teacher profiles.
delete() : mixed
  Determine whether the user can delete the teacher profile.
forceDelete() : mixed
  Determine whether the user can permanently delete the teacher profile.
restore() : mixed
  Determine whether the user can restore the teacher profile.
update() : mixed
  Determine whether the user can update the teacher profile.
view() : mixed
  Determine whether the user can view the teacher profile.
viewAny() : mixed
  Determine whether the user can view any teacher profiles.

### Methods

#### create()

TeacherProfilePolicy.php : 44

Determine whether the user can create teacher profiles.

`public create(User $user) : mixed`

##### Parameters

$user : User

#### delete()

TeacherProfilePolicy.php : 69

Determine whether the user can delete the teacher profile.

`public delete(User $user, TeacherProfile $teacherProfile) : mixed`

##### Parameters

$user : User
$teacherProfile : TeacherProfile

#### forceDelete()

TeacherProfilePolicy.php : 93

Determine whether the user can permanently delete the teacher profile.

`public forceDelete(User $user, TeacherProfile $teacherProfile) : mixed`

##### Parameters

$user : User
$teacherProfile : TeacherProfile

#### restore()

TeacherProfilePolicy.php : 81

Determine whether the user can restore the teacher profile.

`public restore(User $user, TeacherProfile $teacherProfile) : mixed`

##### Parameters

$user : User
$teacherProfile : TeacherProfile

#### update()

TeacherProfilePolicy.php : 56

Determine whether the user can update the teacher profile.

`public update(User $user, TeacherProfile $teacherProfile) : mixed`

##### Parameters

$user : User
$teacherProfile : TeacherProfile

#### view()

TeacherProfilePolicy.php : 32

Determine whether the user can view the teacher profile.

`public view(User $user, TeacherProfile $teacherProfile) : mixed`

##### Parameters

$user : User
$teacherProfile : TeacherProfile

#### viewAny()

TeacherProfilePolicy.php : 19

Determine whether the user can view any teacher profiles.

`public viewAny(User $user) : mixed`

##### Parameters

$user : User

## Search results