src/main/php/WebApp.php
private function sessionHandshake(Request $request, Response $response)
    {
        $session = $this->createSession($request, $response);
        if (null !== $session) {
            $this->injector->setSession(
                    $request->attachSession($session),
                    Session::class
            );
        }
    }
private function sessionHandshake(Request $request, Response $response)
    {
        $session = $this->createSession($request, $response);
        if (null !== $session) {
            $this->injector->setSession(
                    $request->attachSession($session),
                    Session::class
            );
        }
    }
private function sessionHandshake ( Request $ request , Response $ response ) { $ session = $ this -> createSession ( $ request , $ response ) ; if ( null !== $ session ) { $ this -> injector -> setSession ( $ request -> attachSession ( $ session ) , Session :: class ) ; } }
ensures session is present when created

@param  \stubbles\webapp\Request   $request
@param  \stubbles\webapp\Response  $response
ensures session is present when created