diff --git a/README.md b/README.md index 127b33a..d2ee976 100644 --- a/README.md +++ b/README.md @@ -79,6 +79,9 @@ class APIcalculator extends \TPsoft\APIlite\APIlite return $a / $b; } } + +new APIcalculator(); + ``` It is important to extend the `APIcalculator` class with the `\TPsoft\APIlite\APIlite` class, which will provide the entire API servicing according to public methods along with JSON and HTML documentation. The HTML documentation is generated based on the documentation snippet for each method.