Optimierung 4.3/4.4 (Suche): Page-Data-Service + Invokable Controller
Suche-Closure in SuchePageData + Web\SucheController verschoben. Verhalten unveraendert, 92 Web-Tests gruen. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
7625ec7ed5
commit
418a2bca4c
3 changed files with 55 additions and 25 deletions
16
app/Http/Controllers/Web/SucheController.php
Normal file
16
app/Http/Controllers/Web/SucheController.php
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
<?php
|
||||
|
||||
namespace App\Http\Controllers\Web;
|
||||
|
||||
use App\Http\Controllers\Controller;
|
||||
use App\Services\Web\SuchePageData;
|
||||
use App\Support\WebPortalContext;
|
||||
use Illuminate\Contracts\View\View;
|
||||
|
||||
class SucheController extends Controller
|
||||
{
|
||||
public function __invoke(SuchePageData $pageData): View
|
||||
{
|
||||
return view('web.suche', $pageData->build(WebPortalContext::fromRequest()));
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue