tracking/Configuration/RequestMiddlewares.php
Daniel Siepmann 413afa1851
Update
* Rector result with cgl applied
* Fix constructor multi line by hand
* Migrate away from prophecy.
2024-02-07 19:21:15 +01:00

29 lines
803 B
PHP

<?php
declare(strict_types=1);
use DanielSiepmann\Tracking\Middleware\Pageview;
use DanielSiepmann\Tracking\Middleware\Recordview;
return [
'frontend' => [
'danielsiepmann/tracking/pageview' => [
'target' => Pageview::class,
'before' => [
'typo3/cms-frontend/content-length-headers',
],
'after' => [
'typo3/cms-frontend/shortcut-and-mountpoint-redirect',
],
],
'danielsiepmann/tracking/recordview' => [
'target' => Recordview::class,
'before' => [
'typo3/cms-frontend/content-length-headers',
],
'after' => [
'typo3/cms-frontend/shortcut-and-mountpoint-redirect',
],
],
],
];