fixed new APIcalculator();
in README
This commit is contained in:
parent
54ae5e491c
commit
a90896ff46
@ -79,6 +79,9 @@ class APIcalculator extends \TPsoft\APIlite\APIlite
|
|||||||
return $a / $b;
|
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.
|
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.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user