ClassesBigCommerceImportTask Definition

Task_Definition

  • Full name: \BigCommerce\Import\Task_Definition

Methods

__construct

Task_Definition constructor.

public __construct(callable $callback, int $priority, string $completion_state, array $in_progress_states = [], string $description = ''): mixed

Parameters:

ParameterTypeDescription
$callbackcallableThe callback to run this task
$priorityintThe order in which the task should run. Lower values run before higher values.
$completion_statestringThe state at which this task is considered complete
$in_progress_statesarrayAn array of optional interim states where the task should keep running.
$descriptionstringA user-friendly description of the task

get_callback

public get_callback(): mixed

get_priority

public get_priority(): mixed

get_completion_state

public get_completion_state(): mixed

get_in_progress_states

public get_in_progress_states(): mixed

get_description

public get_description(): mixed


Automatically generated on 2025-01-21