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');
    }