features/bootstrap/SwaggerContext.php
private function getLastJsonResponse(): stdClass
    {
        if (null === ($decoded = json_decode($this->restContext->getMink()->getSession()->getDriver()->getContent()))) {
            throw new \RuntimeException('JSON response seems to be invalid');
        }

        return $decoded;
    }
private function getLastJsonResponse(): stdClass
    {
        if (null === ($decoded = json_decode($this->restContext->getMink()->getSession()->getDriver()->getContent()))) {
            throw new \RuntimeException('JSON response seems to be invalid');
        }

        return $decoded;
    }
private function getLastJsonResponse ( ) : stdClass { if ( null === ( $ decoded = json_decode ( $ this -> restContext -> getMink ( ) -> getSession ( ) -> getDriver ( ) -> getContent ( ) ) ) ) { throw new \ RuntimeException ( 'JSON response seems to be invalid' ) ; } return $ decoded ; }
Gets the last JSON response.

@throws \RuntimeException
Gets the last JSON response .