[ Index ]

PHP Cross Reference of DokuWiki

title

Body

[close]

/inc/Remote/Response/ -> ApiResponse.php (source)

   1  <?php
   2  
   3  namespace dokuwiki\Remote\Response;
   4  
   5  /**
   6   * These are simple data objects that hold the response data API calls
   7   *
   8   * They are transmitted as associative arrays automatically created by
   9   * converting the object to an array using all public properties.
  10   */
  11  abstract class ApiResponse
  12  {
  13      /**
  14       * A string representation of this object
  15       *
  16       * Used for sorting and debugging
  17       *
  18       * @return string
  19       */
  20      abstract public function __toString();
  21  }