<?php

/**
 * A factory to create simple redirect task.
 *
 * @package WooCommerce\PayPalCommerce\WcGateway\WcTasks\Factory
 */
namespace WooCommerce\PayPalCommerce\WcGateway\WcTasks\Factory;

use WooCommerce\PayPalCommerce\WcGateway\WcTasks\Tasks\SimpleRedirectTask;
/**
 * A factory to create simple redirect task.
 */
class SimpleRedirectTaskFactory implements \WooCommerce\PayPalCommerce\WcGateway\WcTasks\Factory\SimpleRedirectTaskFactoryInterface
{
    /**
     * {@inheritDoc}
     */
    public function create_task(string $id, string $title, string $description, string $redirect_url): SimpleRedirectTask
    {
        return new SimpleRedirectTask($id, $title, $description, $redirect_url);
    }
}
