Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
18 lines (13 sloc) 357 Bytes
<?php
declare(strict_types=1);
namespace Application\Delivery;
use Dflydev\FigCookies\FigRequestCookies;
use Psr\Http\Message\ServerRequestInterface as Request;
class DefaultInput
{
public function __invoke(Request $request)
{
$sessionId = FigRequestCookies::get($request, 'SESSION_ID');
return [$sessionId->getValue()];
}
}