src/Graviton/SchemaBundle/Constraint/VersionServiceConstraint.php
public function setCurrentVersionHeader(FilterResponseEvent $event)
    {
        if ($this->version) {
            $event->getResponse()->headers->set(self::HEADER_NAME, $this->version);
        }
    }
public function setCurrentVersionHeader(FilterResponseEvent $event)
    {
        if ($this->version) {
            $event->getResponse()->headers->set(self::HEADER_NAME, $this->version);
        }
    }
public function setCurrentVersionHeader ( FilterResponseEvent $ event ) { if ( $ this -> version ) { $ event -> getResponse ( ) -> headers -> set ( self :: HEADER_NAME , $ this -> version ) ; } }
Setting if needed the headers to let user know what was the new version.

@param FilterResponseEvent $event SF response event
@return void
Setting if needed the headers to let user know what was the new version .