<?php

namespace KadenceWP\KadenceBlocks\StellarWP\Uplink;

/**
 * A helper class for registering StellarWP Uplink resources.
 */
class Register
{
    /**
     * Register a plugin resource.
     *
     * @since 1.0.0
     *
     * @param string $slug Resource slug.
     * @param string $name Resource name.
     * @param string $version Resource version.
     * @param string $path Resource path to bootstrap file.
     * @param string $class Resource class.
     * @param string $license_class Resource license class
     *
     * @return Resources\Resource
     */
    public static function plugin($slug, $name, $version, $path, $class, $license_class = null)
    {
        return \KadenceWP\KadenceBlocks\StellarWP\Uplink\Resources\Plugin::register($slug, $name, $version, $path, $class, $license_class);
    }
    /**
     * Register a service resource.
     *
     * @since 1.0.0
     *
     * @param string $slug Resource slug.
     * @param string $name Resource name.
     * @param string $version Resource version.
     * @param string $path Resource path to bootstrap file.
     * @param string $class Resource class.
     * @param string $license_class Resource license class.
     *
     * @return Resources\Resource
     */
    public static function service($slug, $name, $version, $path, $class, $license_class = null)
    {
        return \KadenceWP\KadenceBlocks\StellarWP\Uplink\Resources\Service::register($slug, $name, $version, $path, $class, $license_class);
    }
}