woocommerce-paypal-payments/tests/stubs/Task.php

48 lines
683 B
PHP
Raw Permalink Normal View History

2024-09-11 19:41:12 +04:00
<?php
declare(strict_types=1);
namespace Automattic\WooCommerce\Admin\Features\OnboardingTasks;
use Automattic\WooCommerce\Internal\Admin\WCAdminUser;
2024-09-11 19:44:57 +04:00
abstract class Task
2024-09-11 19:41:12 +04:00
{
/**
* Constructor
*
* @param TaskList|null $task_list Parent task list.
*/
public function __construct( $task_list = null ) {
$this->task_list = $task_list;
}
2024-09-11 19:41:12 +04:00
/**
* ID.
*
* @return string
*/
abstract public function get_id();
/**
* Title.
*
* @return string
*/
abstract public function get_title();
/**
* Content.
*
* @return string
*/
abstract public function get_content();
/**
* Time.
*
* @return string
*/
abstract public function get_time();
}