Webiny\Component\Rest\Tests\Mocks\MockApiClass::getCurrentVersion PHP Method

getCurrentVersion() public static method

Users can still access the latest version if the specify the latest version number or "latest" as a version name in the X-Webiny-Rest-Version header. Version should be in format of A.B, for example: 1.1
public static getCurrentVersion ( ) : string
return string
    public static function getCurrentVersion()
    {
        return '1.0';
    }