public function addHeader(EventInterface $event) {
        $request = $event->getRequest();
        $response = $event->getResponse();

        $user = $request->getUser();
        $imageIdentifier = $response->getModel()->getImageIdentifier();

        $response->headers->set(
            $this->header,
            [
                'imbo;image;' . $user . ';' . $imageIdentifier,
                'imbo;user;' . $user,
            ]
        );
    }
public function addHeader(EventInterface $event) {
        $request = $event->getRequest();
        $response = $event->getResponse();

        $user = $request->getUser();
        $imageIdentifier = $response->getModel()->getImageIdentifier();

        $response->headers->set(
            $this->header,
            [
                'imbo;image;' . $user . ';' . $imageIdentifier,
                'imbo;user;' . $user,
            ]
        );
    }
public function addHeader ( EventInterface $ event ) { $ request = $ event -> getRequest ( ) ; $ response = $ event -> getResponse ( ) ; $ user = $ request -> getUser ( ) ; $ imageIdentifier = $ response -> getModel ( ) -> getImageIdentifier ( ) ; $ response -> headers -> set ( $ this -> header , [ 'imbo;image;' . $ user . ';' . $ imageIdentifier , 'imbo;user;' . $ user , ] ) ; }
Add the HashTwo header to the response

@param EventInterface $event The current event
Add the HashTwo header to the response