Explorer
home
/
zoteqbgb
/
public_html
/
vendor
/
vonage
/
client-core
/
src
/
Subaccount
/
Request
Location:
/home/zoteqbgb/public_html/vendor/vonage/client-core/src/Subaccount/Request
Root path:
/home/zoteqbgb/public_html/config/676626
Editing: NumberTransferRequest.php
<?php namespace Vonage\Subaccount\Request; use Vonage\Entity\Hydrator\ArrayHydrateInterface; class NumberTransferRequest implements ArrayHydrateInterface { public function __construct( protected string $apiKey, protected string $from, protected string $to, protected string $number, protected string $country ) {} public function setFrom(string $from): self { $this->from = $from; return $this; } public function getFrom(): string { return $this->from; } public function setTo(string $to): self { $this->to = $to; return $this; } public function getTo(): string { return $this->to; } public function setNumber(string $number): self { $this->number = $number; return $this; } public function getNumber(): string { return $this->number; } public function setCountry(string $country): self { $this->country = $country; return $this; } public function getCountry(): string { return $this->country; } public function fromArray(array $data): self { $this->from = $data['from'] ?? ''; $this->to = $data['to'] ?? ''; $this->number = $data['number'] ?? ''; $this->country = $data['country'] ?? ''; return $this; } public function toArray(): array { return [ 'from' => $this->getFrom(), 'to' => $this->getTo(), 'number' => $this->getNumber(), 'country' => $this->getCountry(), ]; } /** * @return string */ public function getApiKey(): string { return $this->apiKey; } public function setApiKey(string $apiKey): self { $this->apiKey = $apiKey; return $this; } }
Save maftirs
Upload
Start Upload
New File
Create File
New Folder
Create Folder
Directory Contents
Name
Size
Perms
Modified
Actions
NumberTransferRequest.php
1,902 bytes
0644
2023-10-02 14:26
âï¸
ðï¸
Rename
TransferBalanceRequest.php
1,847 bytes
0644
2023-10-02 14:26
âï¸
ðï¸
Rename
TransferCreditRequest.php
1,846 bytes
0644
2023-10-02 14:26
âï¸
ðï¸
Rename
Chang
Apply