interface dto_interface implements JsonSerializable

Marker contract for all DTOs exchanged between layers.

DTOs must be serializable to array/JSON for transport without exposing internal entities directly.

Methods

array
to_array()

Convert object to array representation.

Details

at line 35
array to_array()

Convert object to array representation.

Return Value

array