Skip to content

Updated Pagination Functionality

Choose a tag to compare

@eoghantelnyx eoghantelnyx released this 08 Apr 01:30
· 1019 commits to master since this release
19a22b2

Pagination can now be used on collection endpoints via the nextPage() method.

Example

$outbound_voice_profiles_page_one = \Telnyx\OutboundVoiceProfile::All(["page" => ["size" => 5]]);
echo $outbound_voice_profiles_page_one;

$outbound_voice_profiles_page_two = $outbound_voice_profiles->nextPage();
echo $outbound_voice_profiles_page_two;