MIDDAG for Moodle

item_dto_interface extends dto_interface

Public-facing DTO Contract for creating/updating Items.

Important:

  • DTO is mutable, unlike item_interface.
  • All fields are nullable for PATCH-style updates.

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