chore: moves search controller to search module

This commit is contained in:
2025-07-06 22:56:47 -05:00
parent 1fc5a8e500
commit 8fa06d4462
2 changed files with 10 additions and 2 deletions

View File

@@ -6,6 +6,14 @@ controllersBase:
defaults: defaults:
schemes: [ 'https' ] schemes: [ 'https' ]
controllersSearch:
resource:
path: ../src/Search/Framework/Controller/
namespace: App\Search\Framework\Controller
type: attribute
defaults:
schemes: [ 'https' ]
controllersUser: controllersUser:
resource: resource:
path: ../src/User/Framework/Controller path: ../src/User/Framework/Controller

View File

@@ -1,6 +1,6 @@
<?php <?php
namespace App\Base\Framework\Controller; namespace App\Search\Framework\Controller;
use App\Search\Action\Handler\GetMediaInfoHandler; use App\Search\Action\Handler\GetMediaInfoHandler;
use App\Search\Action\Handler\SearchHandler; use App\Search\Action\Handler\SearchHandler;
@@ -14,7 +14,7 @@ use Symfony\Component\HttpFoundation\Response;
use Symfony\Component\Messenger\MessageBusInterface; use Symfony\Component\Messenger\MessageBusInterface;
use Symfony\Component\Routing\Attribute\Route; use Symfony\Component\Routing\Attribute\Route;
final class SearchController extends AbstractController final class WebController extends AbstractController
{ {
public function __construct( public function __construct(
private SearchHandler $searchHandler, private SearchHandler $searchHandler,