src/Controllers/Admin/ManageCategoriesController.php
/**
     * Show list of categories.
     *
     * @return mixed
     */
Show list of categories.
@return mixed
Show list of categories . @return mixed
public function index(): View
    {
        $categories = $this->service->indexPaginated();
        return view(
            'blogetc_admin::categories.index',
            [
                'categories' => $categories,
            ]
        );
    }
public function index ( ) : View { $ categories = $ this -> service -> indexPaginated ( ) ; return view ( 'blogetc_admin::categories.index' , [ 'categories' => $ categories , ] ) ; }
Show list of categories.
Show list of categories .