v4.0.0
Info: v3.0.0 Release changelog & Upgrade guide
Changes
- Drop support for guzzle/http 6.3
- Remove cache driver configuration key #72
- Move
romanzipp\Twitch\Helpers\Paginator
toromanzipp\Twitch\Objects\Paginator
Exceptions
- Remove
romanzipp\Twitch\Exceptions\RequestRequiresClientIdException
- Remove
romanzipp\Twitch\Exceptions\RequestRequiresClientSecretException
- Remove
romanzipp\Twitch\Exceptions\RequestRequiresRedirectUriException
- Add
romanzipp\Twitch\Exceptions\RequestRequiresAuthenticationException
Result class
All previously public properties are now declared as private
. Corresponding getter methods have been added.
Properties
- Remove
romanzipp\Twitch\Result::$success
property - Change
romanzipp\Twitch\Result::$exception
visibility frompublic
toprivate
- Change
romanzipp\Twitch\Result::$data
visibility frompublic
toprivate
- Change
romanzipp\Twitch\Result::$total
visibility frompublic
toprivate
- Change
romanzipp\Twitch\Result::$status
visibility frompublic
toprivate
- Change
romanzipp\Twitch\Result::$pagination
visibility frompublic
toprivate
Methods
- Change
romanzipp\Twitch\Result::status()
method name togetStatus()
- Change
romanzipp\Twitch\Result::error()
method name togetErrorMessage()
- Change
romanzipp\Twitch\Result::rateLimit()
method name togetRateLimit()
- Add
romanzipp\Twitch\Result::getException()
method - Add
romanzipp\Twitch\Result::getTotal()
method - Add
romanzipp\Twitch\Result::getPagination()
method - Add
romanzipp\Twitch\Result::getPaginator()
method