IndexTask
in package
implements
Task
Interfaces, Classes, Traits and Enums
- Task
Table of Contents
- $job_id : int
- $list : array<string|int, mixed>
- $prefix : string
- $type : string
- __construct() : mixed
- run() : Result
Properties
$job_id
private
int
$job_id
Job id
$list
private
array<string|int, mixed>
$list
List of indexable files
$prefix
private
string
$prefix
Prefix for counter
$type
private
string
$type
Content type
Methods
__construct()
public
__construct(string $type, array<string|int, mixed> $list, int $job_id[, string $prefix = '' ]) : mixed
Parameters
- $type : string
- $list : array<string|int, mixed>
- $job_id : int
- $prefix : string = ''
Return values
mixed —run()
public
run(Channel $channel, Cancellation $cancellation) : Result
Parameters
- $channel : Channel
- $cancellation : Cancellation