Webiny\Component\Rest\Response\Router::getVersion PHP Method

getVersion() private method

Check if there is a specific version set in the request headers, if not, it returns 'current' version.
private getVersion ( ) : string
return string
    private function getVersion()
    {
        return $this->httpRequest()->header(self::HEADER_VERSION, 'current');
    }