xref: /dokuwiki/inc/Remote/Response/ApiResponse.php (revision 8268b284d42dee1f36da2a61bd2c69ee9fa8aa33)
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    /**
15*8268b284SAndreas Gohr     * A string representation of this object
16*8268b284SAndreas Gohr     *
17*8268b284SAndreas Gohr     * Used for sorting and debugging
18*8268b284SAndreas Gohr     *
19*8268b284SAndreas Gohr     * @return string
20*8268b284SAndreas Gohr     */
21*8268b284SAndreas Gohr    abstract public function __toString();
228ddd9b69SAndreas Gohr}
23