mirror of
https://github.com/DanielSiepmann/tracking.git
synced 2024-11-25 14:46:13 +01:00
Daniel Siepmann
413afa1851
* Rector result with cgl applied * Fix constructor multi line by hand * Migrate away from prophecy.
29 lines
803 B
PHP
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',
|
|
],
|
|
],
|
|
],
|
|
];
|