📁 File Manager Pro
v10.0.3 | PHP: 8.2.31
Server: LiteSpeed
2026-07-02 06:00:25
📂
/ (Root)
/
home
/
orkouolp
/
web
/
testing.orkobd
/
laravel
/
app
/
Http
/
Controllers
/
Admin
📍 /home/orkouolp/web/testing.orkobd/laravel/app/Http/Controllers/Admin
🔄 Refresh
✏️
Editing: CityController.php
Writable
<?php namespace App\Http\Controllers\Admin; use App\Traits\Searchable; use Illuminate\Http\Request; use App\Http\Controllers\Controller; use App\Models\City; class CityController extends Controller { use Searchable; /** * Display a listing of the resource. */ public function index(Request $request) { $query = City::query(); $query->with(['country', 'state']); $this->search($query, ['name']); $cities = $query->orderBy('id', 'DESC')->paginate(20); return view('admin.location.city.index', compact('cities')); } /** * Show the form for creating a new resource. */ public function create() { // } /** * Store a newly created resource in storage. */ public function store(Request $request) { // } /** * Display the specified resource. */ public function show(string $id) { // } /** * Show the form for editing the specified resource. */ public function edit(string $id) { // } /** * Update the specified resource in storage. */ public function update(Request $request, string $id) { // } /** * Remove the specified resource from storage. */ public function destroy(string $id) { // } }
💾 Save Changes
❌ Cancel