Webiny\Component\Rest\Response\Router::getVersion PHP Метод

getVersion() приватный Метод

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