!C99Shell v. 2.5 [PHP 8 Update] [24.05.2025]!

Software: Apache. PHP/8.1.30 

uname -a: Linux server1.tuhinhossain.com 5.15.0-151-generic #161-Ubuntu SMP Tue Jul 22 14:25:40 UTC
2025 x86_64
 

uid=1002(picotech) gid=1003(picotech) groups=1003(picotech),0(root)  

Safe-mode: OFF (not secure)

/home/picotech/domains/sms.picotech.app/public_html/vendor/vonage/client-core/src/Verify2/Request/   drwxr-xr-x
Free 28.61 GB of 117.98 GB (24.25%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


Viewing file:     CreateCustomTemplateFragmentRequest.php (1.96 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php

namespace Vonage\Verify2\Request;

use 
Vonage\Entity\Hydrator\ArrayHydrateInterface;

class 
CreateCustomTemplateFragmentRequest implements ArrayHydrateInterface
{
    protected const 
SMS_CHANNEL 'sms';
    protected const 
VOICE_CHANNEL 'voice';
    protected const 
EMAIL_CHANNEL 'email';

    protected array 
$permittedChannels = [
        
self::SMS_CHANNEL,
        
self::VOICE_CHANNEL,
        
self::EMAIL_CHANNEL,
    ];

    public function 
__construct(
        protected 
string $channel,
        protected 
string $locale,
        protected 
string $text,
    ) {
        if (!
in_array($channel$this->permittedChannels)) {
            throw new 
\InvalidArgumentException('Given channel not supported');
        }
    }

    public function 
getChannel(): string
    
{
        return 
$this->channel;
    }

    public function 
setChannel(string $channel): CreateCustomTemplateFragmentRequest
    
{
        if (!
in_array($channel$this->permittedChannels)) {
            throw new 
\InvalidArgumentException('Given channel not supported');
        }

        
$this->channel $channel;
        return 
$this;
    }

    public function 
getLocale(): string
    
{
        return 
$this->locale;
    }

    public function 
setLocale(string $locale): CreateCustomTemplateFragmentRequest
    
{
        
$this->locale $locale;
        return 
$this;
    }

    public function 
getText(): string
    
{
        return 
$this->text;
    }

    public function 
setText(string $text): CreateCustomTemplateFragmentRequest
    
{
        
$this->text $text;
        return 
$this;
    }

    public function 
fromArray(array $data): static
    {
        
$this->setChannel($data['channel']);
        
$this->setLocale($data['locale']);
        
$this->setText($data['text']);

        return 
$this;
    }

    public function 
toArray(): array
    {
        return [
            
'channel' => $this->getChannel(),
            
'locale' => $this->getLocale(),
            
'text' => $this->getText(),
        ];
    }
}

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ ok ]

:: Make Dir ::
 
[ ok ]
:: Make File ::
 
[ ok ]

:: Go Dir ::
 
:: Go File ::
 

--[ c99shell v. 2.5 [PHP 8 Update] [24.05.2025] | Generation time: 0.0037 ]--