src/Viserio/Component/HttpFoundation/DataCollector/ViserioHttpDataCollector.php
public function collect(ServerRequestInterface $serverRequest, ResponseInterface $response): void
    {
        $this->response      = $response;
        $this->serverRequest = $serverRequest;
        $sessions            = [];

        foreach ($this->serverRequest->getAttributes() as $name => $value) {
            if ($value instanceof StoreContract) {
                $sessions[] = $value;
            }
        }

        $this->sessions = $sessions;
    }
public function collect(ServerRequestInterface $serverRequest, ResponseInterface $response): void
    {
        $this->response      = $response;
        $this->serverRequest = $serverRequest;
        $sessions            = [];

        foreach ($this->serverRequest->getAttributes() as $name => $value) {
            if ($value instanceof StoreContract) {
                $sessions[] = $value;
            }
        }

        $this->sessions = $sessions;
    }
{@inheritdoc}