src/Session/SessionMiddleware.php
private function attachNocacheCacheLimiterHeader(ResponseInterface $response): ResponseInterface
    {
        return $response
            ->withAddedHeader('Expires', self::EXPIRED)
            ->withAddedHeader('Cache-Control', 'no-store, no-cache, must-revalidate')
            ->withAddedHeader('Pragma', 'no-cache');
    }
private function attachNocacheCacheLimiterHeader(ResponseInterface $response): ResponseInterface
    {
        return $response
            ->withAddedHeader('Expires', self::EXPIRED)
            ->withAddedHeader('Cache-Control', 'no-store, no-cache, must-revalidate')
            ->withAddedHeader('Pragma', 'no-cache');
    }
private function attachNocacheCacheLimiterHeader ( ResponseInterface $ response ) : ResponseInterface { return $ response -> withAddedHeader ( 'Expires' , self :: EXPIRED ) -> withAddedHeader ( 'Cache-Control' , 'no-store, no-cache, must-revalidate' ) -> withAddedHeader ( 'Pragma' , 'no-cache' ) ; }
Attach a nocache cache limiter header to the given response.

@param \Psr\Http\Message\ResponseInterface $response
@return \Psr\Http\Message\ResponseInterface

@see https://github.com/php/php-src/blob/PHP-7.0/ext/session/session.c#L1304-L1314
Attach a nocache cache limiter header to the given response .