MIDDAG for Moodle

dto_interface extends JsonSerializable

Marker contract for all DTOs exchanged between layers.

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

Table of Contents

Methods

to_array()  : array<string, mixed>
Convert object to array representation.

Methods

to_array()

Convert object to array representation.

public to_array() : array<string, mixed>
Return values
array<string, mixed>

        
On this page

Search results