'admin.game.user-skins.index', * 'show' => 'admin.game.user-skins.show', * 'create' => 'admin.game.user-skins.create', * 'store' => 'admin.game.user-skins.store', * 'edit' => 'admin.game.user-skins.edit', * 'update' => 'admin.game.user-skins.update', * 'destroy' => 'admin.game.user-skins.destroy' * ] * ) */ class GameUserSkinController extends AdminController { /** * 数据仓库 * * @var GameUserSkinRepository */ protected GameUserSkinRepository $repository; /** * 构造函数 */ public function __construct() { $this->repository = new GameUserSkinRepository(); } /** * 列表页面 * * @return Grid */ protected function grid(): Grid { return $this->repository->grid(); } /** * 详情页面 * * @param mixed $id * @return Show */ protected function detail($id): Show { return $this->repository->detail($id); } /** * 创建页面 * * @return Form */ protected function form(): Form { return $this->repository->form(); } }