class Serializer (View source)

Properties

static protected array<int,string> $ignore

The properties to ignore when serializing.

Methods

static array
serialize(Type $type)

Serialize the given property to an array.

static bool
isRequired(Type $type)

Determine if the given type is required.

Details

static array serialize(Type $type)

Serialize the given property to an array.

Parameters

Type $type

Return Value

array

static protected bool isRequired(Type $type)

Determine if the given type is required.

Parameters

Type $type

Return Value

bool