DataTableMarshaller
extends Component
in package
implements
IMarshaller, ISingleton
Uses
TMarshaller
FinalYes
Tags
Table of Contents
Interfaces
Properties
- $hashCode : int
- $hashCounter : int
- $instance : DataTableMarshaller
Methods
- __call() : mixed
- __callStatic() : mixed
- __construct() : mixed
- __destruct() : mixed
- __get() : mixed
- extends() : bool
- getInstance() : DataTableMarshaller
- getReflection() : ReflectionClass
- marshall() : stdClass|array<string|int, mixed>
- recursiveMarshall() : mixed
- init() : mixed
- {@inheritdoc}
Properties
$hashCode
private
int
$hashCode
$hashCounter
private
static int
$hashCounter
= 0
$instance
private
static DataTableMarshaller
$instance
Methods
__call()
public
__call(string $method, array<string|int, mixed> $arguments) : mixed
Parameters
- $method : string
- $arguments : array<string|int, mixed>
Tags
__callStatic()
public
static __callStatic(mixed $method, array<string|int, mixed> $arguments) : mixed
Parameters
- $method : mixed
- $arguments : array<string|int, mixed>
__construct()
public
__construct() : mixed
__destruct()
public
__destruct() : mixed
__get()
public
__get(string $property) : mixed
Parameters
- $property : string
extends()
public
extends(ReflectionClass $reflector) : bool
Parameters
- $reflector : ReflectionClass
Return values
boolgetInstance()
public
static getInstance() : DataTableMarshaller
Return values
DataTableMarshallergetReflection()
public
getReflection() : ReflectionClass
Return values
ReflectionClassmarshall()
public
marshall(IMarshallable $object) : stdClass|array<string|int, mixed>
Parameters
- $object : IMarshallable
Tags
Return values
stdClass|array<string|int, mixed>recursiveMarshall()
public
static recursiveMarshall(mixed $data) : mixed
Parameters
- $data : mixed
init()
{@inheritdoc}
protected
init() : mixed