/home/techb158/dev.balacoffee.com/vendor/twilio/sdk/src/Twilio/Rest/Verify/V2
NameSizeModeActions
Service/-0755rm
FormContext.php15830644editdlrm
FormInstance.php29890644editdlrm
FormList.php10730644editdlrm
FormPage.php12400644editdlrm
SafelistContext.php19500644editdlrm
SafelistInstance.php32440644editdlrm
SafelistList.php17570644editdlrm
SafelistPage.php12640644editdlrm
ServiceContext.php83550644editdlrm
ServiceInstance.php68890644editdlrm
ServiceList.php65370644editdlrm
ServiceOptions.php319360644editdlrm
ServicePage.php11450644editdlrm
TemplateInstance.php20250644editdlrm
TemplateList.php47780644editdlrm
TemplateOptions.php14560644editdlrm
TemplatePage.php11510644editdlrm
VerificationAttemptContext.php15670644editdlrm
VerificationAttemptInstance.php38880644editdlrm
VerificationAttemptList.php57050644editdlrm
VerificationAttemptOptions.php72260644editdlrm
VerificationAttemptPage.php12170644editdlrm
VerificationAttemptsSummaryContext.php21850644editdlrm
VerificationAttemptsSummaryInstance.php33800644editdlrm
VerificationAttemptsSummaryList.php10110644editdlrm
VerificationAttemptsSummaryOptions.php66890644editdlrm
VerificationAttemptsSummaryPage.php12650644editdlrm
Edit: /home/techb158/dev.balacoffee.com/vendor/twilio/sdk/src/Twilio/Rest/Verify/V2/TemplateList.php (4778B)
solution = []; $this->uri = '/Templates'; } /** * Streams TemplateInstance records from the API as a generator stream. * This operation lazily loads records as efficiently as possible until the * limit * is reached. * The results are returned as a generator, so this operation is memory * efficient. * * @param array|Options $options Optional Arguments * @param int $limit Upper limit for the number of records to return. stream() * guarantees to never return more than limit. Default is no * limit * @param mixed $pageSize 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, stream() * will attempt to read the limit with the most * efficient page size, i.e. min(limit, 1000) * @return Stream stream of results */ public function stream(array $options = [], int $limit = null, $pageSize = null): Stream { $limits = $this->version->readLimits($limit, $pageSize); $page = $this->page($options, $limits['pageSize']); return $this->version->stream($page, $limits['limit'], $limits['pageLimit']); } /** * Reads TemplateInstance records from the API as a list. * Unlike stream(), this operation is eager and will load `limit` records into * memory before returning. * * @param array|Options $options Optional Arguments * @param int $limit Upper limit for the number of records to return. read() * guarantees to never return more than limit. Default is no * limit * @param mixed $pageSize 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) * @return TemplateInstance[] Array of results */ public function read(array $options = [], int $limit = null, $pageSize = null): array { return \iterator_to_array($this->stream($options, $limit, $pageSize), false); } /** * Retrieve a single page of TemplateInstance records from the API. * Request is executed immediately * * @param array|Options $options Optional Arguments * @param mixed $pageSize Number of records to return, defaults to 50 * @param string $pageToken PageToken provided by the API * @param mixed $pageNumber Page Number, this value is simply for client state * @return TemplatePage Page of TemplateInstance */ public function page(array $options = [], $pageSize = Values::NONE, string $pageToken = Values::NONE, $pageNumber = Values::NONE): TemplatePage { $options = new Values($options); $params = Values::of([ 'FriendlyName' => $options['friendlyName'], 'PageToken' => $pageToken, 'Page' => $pageNumber, 'PageSize' => $pageSize, ]); $response = $this->version->page('GET', $this->uri, $params); return new TemplatePage($this->version, $response, $this->solution); } /** * Retrieve a specific page of TemplateInstance records from the API. * Request is executed immediately * * @param string $targetUrl API-generated URL for the requested results page * @return TemplatePage Page of TemplateInstance */ public function getPage(string $targetUrl): TemplatePage { $response = $this->version->getDomain()->getClient()->request( 'GET', $targetUrl ); return new TemplatePage($this->version, $response, $this->solution); } /** * Provide a friendly representation * * @return string Machine friendly representation */ public function __toString(): string { return '[Twilio.Verify.V2.TemplateList]'; } }