|
22 | 22 | use Evoweb\StoreFinder\Domain\Repository\LocationRepository; |
23 | 23 | use Evoweb\StoreFinder\Middleware\Event\ModifyMiddlewareCategoriesEvent; |
24 | 24 | use Evoweb\StoreFinder\Middleware\Event\ModifyMiddlewareLocationsEvent; |
25 | | -use Evoweb\StoreFinder\Service\GeocodeService; |
| 25 | +use Evoweb\StoreFinder\Services\GeocodeService; |
26 | 26 | use JsonException; |
27 | 27 | use Psr\EventDispatcher\EventDispatcherInterface; |
28 | 28 | use Psr\Http\Message\ResponseInterface; |
|
58 | 58 | final readonly class StoreFinderMiddleware implements MiddlewareInterface |
59 | 59 | { |
60 | 60 | public function __construct( |
61 | | - #[Lazy] |
62 | | - private EventDispatcherInterface $eventDispatcher, |
63 | | - #[Lazy] |
64 | | - private CacheManager $cacheManager, |
65 | | - #[Lazy] |
66 | | - private ContentRepository $contentRepository, |
67 | | - #[Lazy] |
68 | 61 | private FlexFormTools $flexFormTools, |
69 | | - #[Lazy] |
70 | 62 | private TypoScriptService $typoScriptService, |
71 | 63 | private FrontendTypoScriptFactory $frontendTypoScriptFactory, |
72 | 64 | private PageInformationFactory $pageInformationFactory, |
73 | 65 | #[Autowire(service: 'cache.typoscript')] |
74 | 66 | private PhpFrontend $typoScriptCache, |
75 | 67 | #[Lazy] |
| 68 | + private EventDispatcherInterface $eventDispatcher, |
| 69 | + #[Lazy] |
| 70 | + private CacheManager $cacheManager, |
| 71 | + #[Lazy] |
76 | 72 | private CategoryRepository $categoryRepository, |
77 | 73 | #[Lazy] |
78 | 74 | private LocationRepository $locationRepository, |
| 75 | + #[Lazy] |
| 76 | + private ContentRepository $contentRepository, |
79 | 77 | ) { |
80 | 78 | } |
81 | 79 |
|
|
0 commit comments