Twilio\Rest\Events\V1\SubscriptionList::read

Reads SubscriptionInstance records from the API as a list.

Unlike stream(), this operation is eager and will load `limit` records into memory before returning.

Signature

public function read([array $options = , [int $limit = NULL, [mixed $pageSize = NULL]]] )

Parameters

$options — array
Optional Arguments


$limit — int
Upper limit for the number of records to return. read()
guarantees to never return more than limit. Default is no
limit
$pageSize — mixed
Number of records to fetch per request, when not set
will use the default value of 50 records. If no
page_size is defined but a limit is defined, read()
will attempt to read the limit with the most
efficient page size, i.e. min(limit, 1000)

Returns

array
Array of results