File manager - Edit - /home/autoph/public_html/tasks/vendor/bogdaan/viber-bot-php/src/Api/Message/Text.php
Back
<?php namespace Viber\Api\Message; use Viber\Api\Message; /** * Text-only message * * @author Novikov Bogdan <hcbogdan@gmail.com> */ class Text extends Message { /** * The text of the message * * @var string */ protected $text; /** * {@inheritdoc} */ public function getType() { return Type::TEXT; } /** * {@inheritdoc} */ public function toArray() { return array_merge(parent::toArray(), [ 'text' => $this->getText() ]); } /** * Get the value of The text of the message * * @return string */ public function getText() { return $this->text; } /** * Set the value of The text of the message * * @param string text * * @return static */ public function setText($text) { $this->text = $text; return $this; } }
| ver. 1.4 |
.
| PHP 7.3.33 | Generation time: 0.3 |
proxy
|
phpinfo
|
Settings