Skip to content

Open-source event management and ticket selling platform — perfect for concerts, conferences, and everything in between 🎟️ If you find this project helpful, please consider giving us a star ⭐️

422 B
Raw Blame
<?php

namespace HiEvents\Enterprise\BoxOffice\Services\Application\Handlers\Public;

use HiEvents\Enterprise\BoxOffice\Services\Domain\BoxOfficeSessionService;

class EndBoxOfficeSessionPublicHandler
{
    public function __construct(
        private readonly BoxOfficeSessionService $sessionService,
    ) {}

    public function handle(?string $token): void
    {
        $this->sessionService->forget($token);
    }
}