xref: /dokuwiki/inc/Remote/Response/ApiResponse.php (revision d48c2b252a339bed693da46fae768d93f4b3fe41)
18ddd9b69SAndreas Gohr<?php
28ddd9b69SAndreas Gohr
38ddd9b69SAndreas Gohrnamespace dokuwiki\Remote\Response;
48ddd9b69SAndreas Gohr
58ddd9b69SAndreas Gohr/**
68ddd9b69SAndreas Gohr * These are simple data objects that hold the response data API calls
78ddd9b69SAndreas Gohr *
88ddd9b69SAndreas Gohr * They are transmitted as associative arrays automatically created by
958ae4747SAndreas Gohr * converting the object to an array using all public properties.
108ddd9b69SAndreas Gohr */
118ddd9b69SAndreas Gohrabstract class ApiResponse
128ddd9b69SAndreas Gohr{
13*8268b284SAndreas Gohr    /**
14*8268b284SAndreas Gohr     * A string representation of this object
15*8268b284SAndreas Gohr     *
16*8268b284SAndreas Gohr     * Used for sorting and debugging
17*8268b284SAndreas Gohr     *
18*8268b284SAndreas Gohr     * @return string
19*8268b284SAndreas Gohr     */
20*8268b284SAndreas Gohr    abstract public function __toString();
218ddd9b69SAndreas Gohr}
22