Explorer
home
/
zoteqbgb
/
public_html
/
vendor
/
vonage
/
client-core
/
src
/
Messages
/
Channel
/
Viber
/
MessageObjects
Location:
/home/zoteqbgb/public_html/vendor/vonage/client-core/src/Messages/Channel/Viber/MessageObjects
Root path:
/home/zoteqbgb/public_html/config/676626
Editing: ViberActionObject.php
<?php namespace Vonage\Messages\Channel\Viber\MessageObjects; use Vonage\Entity\Hydrator\ArrayHydrateInterface; class ViberActionObject implements ArrayHydrateInterface { public function __construct(private string $url, private string $text = '') { } public function fromArray(array $data): ViberActionObject { $this->url = $data['url']; $this->text = $data['text']; return $this; } public function toArray(): array { return [ 'url' => $this->getUrl(), 'text' => $this->getText() ]; } public function getUrl(): string { return $this->url; } public function getText(): string { return $this->text; } }
Save maftirs
Upload
Start Upload
New File
Create File
New Folder
Create Folder
Directory Contents
Name
Size
Perms
Modified
Actions
ViberActionObject.php
749 bytes
0644
2023-10-02 14:26
âï¸
ðï¸
Rename
Chang
Apply