@@ -144,7 +144,7 @@ class YourApi extends Api
144144
145145By default, this method will return a ` string ` as it will be the response of the request as is.
146146If you want to change how the response is handled in all requests (for example, decode a JSON string into an array),
147- check the [ ` addResponseContentsHandler ` ] ( #addresponsecontentshandler ) method in the [ Event Listeners] ( #event-listeners ) section.
147+ check the [ ` addResponseContentsListener ` ] ( #addresponsecontentslistener ) method in the [ Event Listeners] ( #event-listeners ) section.
148148
149149#### ` buildPath `
150150
@@ -472,7 +472,7 @@ The `addResponseContentsListener` method is used to manipulate the response that
472472This event listener will be applied to every API request.
473473
474474``` php
475- $this->addResponseContentsListener(callable $handler , int $priority = 0): self;
475+ $this->addResponseContentsListener(callable $listener , int $priority = 0): self;
476476```
477477
478478For example, if the API responses are JSON strings, you can use this event listener to decode them into arrays:
@@ -906,7 +906,12 @@ $api = new YourApi([
906906$posts = $api->getPosts();
907907```
908908
909- For all available methods, check the official page documentation [ here] ( https://symfony.com/doc/current/components/options_resolver.html ) .
909+ For all available methods, check the official page [ documentation] ( https://symfony.com/doc/current/components/options_resolver.html ) .
910+
911+ ## Libraries using PHP API SDK
912+
913+ - [ programmatordev/openweathermap-php-api] ( https://github.com/programmatordev/openweathermap-php-api )
914+ - [ programmatordev/sportmonksfootball-php-api] ( https://github.com/programmatordev/sportmonksfootball-php-api )
910915
911916## Contributing
912917
0 commit comments