Webiny\Component\Rest\Interfaces\VersionInterface::getAllVersions PHP Method

getAllVersions() public static method

Example: [ '1.0' => 'MyApp/Apis/Cms/Page/V1x1/', '1.2' => 'MyApp/Apis/Cms/Page/V1x2/', '2.0' => 'MyApp/Apis/Cms/Page/', ] How you organize your namespace is up to you.
public static getAllVersions ( ) : array
return array
    public static function getAllVersions();