phpDocumentor

Type implements JsonSerializable

Class Type

Interfaces, Classes and Traits

JsonSerializable

Table of Contents

$id  : string
$params  : array<string|int, mixed>
create()  : Type
jsonSerialize()  : mixed
__construct()  : mixed
Type constructor.

Properties

$params

private array<string|int, mixed> $params

Methods

create()

public static create(string $id[, array<string|int, mixed> $params = [] ]) : Type
Parameters
$id : string
$params : array<string|int, mixed> = []
Return values
Type

jsonSerialize()

public jsonSerialize() : mixed
Tags
inheritDoc
Return values
mixed

__construct()

Type constructor.

private __construct(string $id, array<string|int, mixed> $params) : mixed
Parameters
$id : string
$params : array<string|int, mixed>
Return values
mixed

Search results