app/Http/Controllers/ClientController.php
/**
     * Display a listing of the resource.
     *
     * @return \Illuminate\Http\Response
     */
Display a listing of the resource.
@return \Illuminate\Http\Response
Display a listing of the resource . @return \ Illuminate \ Http \ Response
public function index()
    {
        $clients = Client::orderBy('created_at', 'DESC')->paginate(20);
         return view('admin.client.index', compact('clients'));
    }
public function index ( ) { $ clients = Client :: orderBy ( 'created_at' , 'DESC' ) -> paginate ( 20 ) ; return view ( 'admin.client.index' , compact ( 'clients' ) ) ; }
Display a listing of the resource.
Display a listing of the resource .