Menu

## CityDetail extends Component
in package

CityDetail.php : 17

Class CityDetail

Livewire component responsible for displaying detailed information of a single city in the Admin Settings section.

### Table of Contents

#### Properties

$cityDetailId : int|string
  City identifier used to fetch city details.

#### Methods

mount() : void
  Lifecycle hook executed when the component is mounted.
render() : View
  Render the Livewire component view.

### Properties

#### $cityDetailId

CityDetail.php : 24

City identifier used to fetch city details.

`public int|string $cityDetailId`

### Methods

#### mount()

CityDetail.php : 35

Lifecycle hook executed when the component is mounted.

`public mount(int|string $id) : void`

Assigns the city identifier received from the route to the component property.

##### Parameters

$id : int|string

  City ID

#### render()

CityDetail.php : 48

Render the Livewire component view.

`public render() : View`

Fetches city details based on the provided city ID and passes the data to the Blade view.

##### Return values

View

## Search results