Skip to main content

Partial_File


Partial_File

Properties

blob

public string|null $blob

contentType

public string|null $contentType

length

public int|null $length

name

public string|null $name

Methods

__construct

public __construct(string|null $blob = null, string|null $contentType = null, int|null $length = null, string|null $name = null): mixed

Parameters:

ParameterTypeDescription
$blobstring|null
$contentTypestring|null
$lengthint|null
$namestring|null

Inherited methods

getExtended

public getExtended(string $name): string|null|\Onslip360\Nil

Parameters:

ParameterTypeDescription
$namestring

setExtended

public setExtended(string $name, string|null|\Onslip360\Nil $value): static

Parameters:

ParameterTypeDescription
$namestring
$valuestring|null|\Onslip360\Nil

fromJson

public static fromJson(string|array|\JsonSerializable|\stdClass $json): static
  • This method is static.

Parameters:

ParameterTypeDescription
$jsonstring|array|\JsonSerializable|\stdClass

fromJsonArray

public static fromJsonArray(string[]|array[]|\JsonSerializable[]|\stdClass[] $json): static[]
  • This method is static.

Parameters:

ParameterTypeDescription
$jsonstring[]|array[]|\JsonSerializable[]|\stdClass[]

jsonSerialize

public jsonSerialize(): array|object


Automatically generated on 2024-11-05