Meilisearch PHP | Documentation

BatchProgressStep
in package

FinalYes
Tags
phpstan-type

RawBatchProgressStep array{ currentStep: non-empty-string, finished: non-negative-int, total: non-negative-int }

Table of Contents

Properties

$currentStep  : string
$finished  : int
$total  : int

Methods

__construct()  : mixed
fromArray()  : self
getCurrentStep()  : non-empty-string
getFinished()  : int
getTotal()  : int

Properties

Methods

__construct()

public __construct(non-empty-string $currentStep, int $finished, int $total) : mixed
Parameters
$currentStep : non-empty-string
$finished : int
$total : int

fromArray()

public static fromArray(RawBatchProgressStep $data) : self
Parameters
$data : RawBatchProgressStep
Return values
self

getCurrentStep()

public getCurrentStep() : non-empty-string
Return values
non-empty-string
On this page

Search results