Page containing items

package Library
subpackage Twilio\Api\Resource\Listing
author Aleksey Korzun

 Methods

Class constructor

__construct(object $page, string $name, string $nextUri) 

Parameters

$page

object

object returned from server

$name

string

key of the item list

$nextUri

string

Magic method to allow retrieving the properties of the wrapped page.

__get(string $property) : mixed

Parameters

$property

string

name of the property to retrieve

Returns

mixed

Implementation of IteratorAggregate::getIterator().

getIterator() : string[]

Returns

string[]

The item list of the page

items() : string[]

Returns

string[]items

 Properties

 

$items : string[]
 

$nextUri : string
 

$page : object