protected function addPoweredByHeader(ResponseInterface $response): ResponseInterface
    {
        $token = static::prepareApplicationToken($this->bootstrap->getObjectManager());
        if ($token === '') {
            return $response;
        }

        return $response->withAddedHeader('X-Flow-Powered', $token);
    }
protected function addPoweredByHeader(ResponseInterface $response): ResponseInterface
    {
        $token = static::prepareApplicationToken($this->bootstrap->getObjectManager());
        if ($token === '') {
            return $response;
        }

        return $response->withAddedHeader('X-Flow-Powered', $token);
    }
protected function addPoweredByHeader ( ResponseInterface $ response ) : ResponseInterface { $ token = static :: prepareApplicationToken ( $ this -> bootstrap -> getObjectManager ( ) ) ; if ( $ token === '' ) { return $ response ; } return $ response -> withAddedHeader ( 'X-Flow-Powered' , $ token ) ; }
Adds an HTTP header to the Response which indicates that the application is powered by Flow.

@param ResponseInterface $response
@return ResponseInterface
@throws \Neos\Flow\Exception
Adds an HTTP header to the Response which indicates that the application is powered by Flow .