<?php
/**
 * @author Daniel Knudsen <d.knudsen@spawntree.de>
 * @date 12.07.22
 */

namespace App\EventListener;

use Contao\CoreBundle\ServiceAnnotation\Hook;
use Contao\FrontendTemplate;
use Contao\Module;

class PostCheckoutListener
{
    /**
     * @Hook("postCheckout")
     */
		public function __invoke(int $userId, array $userData, Module $module): void
    {
        throw new \Exception('ARRRRRRRGGGGGGGGGG');
    }
}