risscsolutions/printformer-php-sdk

PageInfo
in package
implements ArrayAccess Uses AccessPropertiesAsArray

Tags
implements

\ArrayAccess<string, mixed>

Interfaces, Classes, Traits and Enums

ArrayAccess

Table of Contents

$dimensions  : array<string|int, mixed>
$pages  : int
__construct()  : mixed
fromArray()  : PageInfo
offsetExists()  : bool
offsetGet()  : mixed
offsetSet()  : void
offsetUnset()  : void

Properties

$dimensions

public array<string|int, mixed> $dimensions

array<array{width: float, height: float}> $dimensions

Methods

__construct()

public __construct(int $pages, array<string|int, mixed> $dimensions) : mixed
Parameters
$pages : int
$dimensions : array<string|int, mixed>
Return values
mixed

fromArray()

public static fromArray(array<string|int, mixed> $data) : PageInfo
Parameters
$data : array<string|int, mixed>
Return values
PageInfo

offsetExists()

public offsetExists(mixed $offset) : bool
Parameters
$offset : mixed
Return values
bool

offsetGet()

public offsetGet(mixed $offset) : mixed
Parameters
$offset : mixed
Return values
mixed

offsetSet()

public offsetSet(mixed $offset, mixed $value) : void
Parameters
$offset : mixed
$value : mixed
Return values
void

offsetUnset()

public offsetUnset(mixed $offset) : void
Parameters
$offset : mixed
Return values
void

Search results