web-base/Core/Objects/ApiObject.class.php
2023-01-07 15:34:05 +01:00

12 lines
177 B
PHP

<?php
namespace Core\Objects;
abstract class ApiObject implements \JsonSerializable {
public function __toString() {
return json_encode($this->jsonSerialize());
}
}