Menu

## CityPolicy
in package
uses HandlesAuthorization

CityPolicy.php : 9

### Table of Contents

#### Methods

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

### Methods

#### create()

CityPolicy.php : 44

Determine whether the user can create cities.

`public create(User $user) : mixed`

##### Parameters

$user : User

#### delete()

CityPolicy.php : 70

Determine whether the user can delete the city.

`public delete(User $user, City $city) : mixed`

##### Parameters

$user : User
$city : City

#### forceDelete()

CityPolicy.php : 94

Determine whether the user can permanently delete the city.

`public forceDelete(User $user, City $city) : mixed`

##### Parameters

$user : User
$city : City

#### restore()

CityPolicy.php : 82

Determine whether the user can restore the city.

`public restore(User $user, City $city) : mixed`

##### Parameters

$user : User
$city : City

#### update()

CityPolicy.php : 57

Determine whether the user can update the city.

`public update(User $user, City $city) : mixed`

##### Parameters

$user : User
$city : City

#### view()

CityPolicy.php : 32

Determine whether the user can view the city.

`public view(User $user, City $city) : mixed`

##### Parameters

$user : User
$city : City

#### viewAny()

CityPolicy.php : 19

Determine whether the user can view any cities.

`public viewAny(User $user) : mixed`

##### Parameters

$user : User

## Search results