!C99Shell v. 2.1 [PHP 8 Update] [02.02.2022]!

Software: Apache/2.4.53 (Unix) OpenSSL/1.1.1o PHP/7.4.29 mod_perl/2.0.12 Perl/v5.34.1. PHP/7.4.29 

uname -a: Linux vps-2738122-x 4.15.0-213-generic #224-Ubuntu SMP Mon Jun 19 13:30:12 UTC 2023 x86_64 

uid=1(daemon) gid=1(daemon) grupos=1(daemon) 

Safe-mode: OFF (not secure)

/opt/apex_tdfonline/php/3ros/guzzle/guzzle/guzzle/src/Guzzle/Service/Description/   drwxr-xr-x
Free 15.56 GB of 61.93 GB (25.13%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


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

namespace Guzzle\Service\Description;

use 
Guzzle\Service\AbstractConfigLoader;
use 
Guzzle\Service\Exception\DescriptionBuilderException;

/**
 * Loader for service descriptions
 */
class ServiceDescriptionLoader extends AbstractConfigLoader
{
    protected function 
build($config, array $options)
    {
        
$operations = array();
        if (!empty(
$config['operations'])) {
            foreach (
$config['operations'] as $name => $op) {
                
$name $op['name'] = isset($op['name']) ? $op['name'] : $name;
                
// Extend other operations
                
if (!empty($op['extends'])) {
                    
$this->resolveExtension($name$op$operations);
                }
                
$op['parameters'] = isset($op['parameters']) ? $op['parameters'] : array();
                
$operations[$name] = $op;
            }
        }

        return new 
ServiceDescription(array(
            
'apiVersion'  => isset($config['apiVersion']) ? $config['apiVersion'] : null,
            
'baseUrl'     => isset($config['baseUrl']) ? $config['baseUrl'] : null,
            
'description' => isset($config['description']) ? $config['description'] : null,
            
'operations'  => $operations,
            
'models'      => isset($config['models']) ? $config['models'] : null
        
) + $config);
    }

    
/**
     * @param string $name       Name of the operation
     * @param array  $op         Operation value array
     * @param array  $operations Currently loaded operations
     * @throws DescriptionBuilderException when extending a non-existent operation
     */
    
protected function resolveExtension($name, array &$op, array &$operations)
    {
        
$resolved = array();
        
$original = empty($op['parameters']) ? false$op['parameters'];
        
$hasClass = !empty($op['class']);
        foreach ((array) 
$op['extends'] as $extendedCommand) {
            if (empty(
$operations[$extendedCommand])) {
                throw new 
DescriptionBuilderException("{$name} extends missing operation {$extendedCommand}");
            }
            
$toArray $operations[$extendedCommand];
            
$resolved = empty($resolved)
                ? 
$toArray['parameters']
                : 
array_merge($resolved$toArray['parameters']);

            
$op $op $toArray;
            if (!
$hasClass && isset($toArray['class'])) {
                
$op['class'] = $toArray['class'];
            }
        }
        
$op['parameters'] = $original array_merge($resolved$original) : $resolved;
    }
}

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ Read-Only ]

:: Make Dir ::
 
[ Read-Only ]
:: Make File ::
 
[ Read-Only ]

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

--[ c99shell v. 2.1 [PHP 8 Update] [02.02.2022] maintained byC99Shell Github | Generation time: 0.3086 ]--