FileAccess Orion

SerializableFieldsTrait

Provides common serialization functionality to fields

Tags
psalm-immutable

Table of Contents

__construct()  : mixed
getBytes()  : string
Returns the bytes that comprise the fields
serialize()  : string
Returns a string representation of object
unserialize()  : void
Constructs the object from a serialized string representation

Methods

__construct()

public abstract __construct(string $bytes) : mixed
Parameters
$bytes : string

The bytes that comprise the fields

Return values
mixed

getBytes()

Returns the bytes that comprise the fields

public abstract getBytes() : string
Return values
string

serialize()

Returns a string representation of object

public serialize() : string
Return values
string

unserialize()

Constructs the object from a serialized string representation

public unserialize(string $serialized) : void
Parameters
$serialized : string

The serialized string representation of the object

Tags
phpcsSuppress

SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingNativeTypeHint

Return values
void

Search results