pixelfederation/swoole-bundle

View on GitHub
src/Bridge/Symfony/Event/RequestWithSessionFinishedEvent.php

Summary

Maintainability
A
0 mins
Test Coverage
<?php

declare(strict_types=1);

namespace K911\Swoole\Bridge\Symfony\Event;

use Symfony\Contracts\EventDispatcher\Event;

final class RequestWithSessionFinishedEvent extends Event
{
    public const NAME = 'swoole_bundle.request.with.session.finished';

    public function __construct(private string $sessionId)
    {
    }

    public function getSessionId(): string
    {
        return $this->sessionId;
    }
}