PDFGate's PHP SDK

PdfGateDocumentMetadata
in package

Document metadata DTO returned by JSON PDFGate endpoints.

Table of Contents

Properties

$createdAt  : string
$derivedFrom  : string|null
$fileUrl  : string|null
$id  : string
$size  : int
$status  : string
$type  : string|null

Methods

__construct()  : mixed
fromArray()  : self
getCreatedAt()  : string
getDerivedFrom()  : string|null
getFileUrl()  : string|null
getId()  : string
getSize()  : int
getStatus()  : string
getType()  : string|null

Properties

Methods

__construct()

public __construct(string $id, string $status, string|null $type, string|null $fileUrl, int $size, string $createdAt[, string|null $derivedFrom = null ]) : mixed
Parameters
$id : string
$status : string
$type : string|null
$fileUrl : string|null
$size : int
$createdAt : string
$derivedFrom : string|null = null

fromArray()

public static fromArray(array<string, mixed> $payload) : self
Parameters
$payload : array<string, mixed>
Return values
self

        
On this page

Search results