itemListView('previouslyownedlenses/index.html.twig', 'previouslyOwnedLenses', [ 'brand' => 'ASC', 'productLine' => 'ASC', 'mount' => 'ASC', 'minFocalLength' => 'ASC', 'maxFStop' => 'ASC', ]); } /** * Finds and displays a previouslyOwnedLense entity. */ #[Route(path: '/{id}', name: 'previously-owned-lens_show', methods: ['GET'])] public function showAction(PreviouslyOwnedLenses $previouslyOwnedLens) { return $this->itemView($previouslyOwnedLens, 'previouslyownedlenses/show.html.twig', 'previouslyOwnedLense'); } /** * Displays a form to edit an existing previouslyOwnedLense entity. */ #[Route(path: '/{id}/edit', name: 'previously-owned-lens_edit', methods: ['GET', 'POST'])] public function editAction(Request $request, PreviouslyOwnedLenses $previouslyOwnedLens) { return $this->itemUpdate($request, $previouslyOwnedLens, 'previouslyownedlenses/edit.html.twig', 'previouslyOwnedLense', 'previously-owned-lens_show'); } }