!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/Resource/   drwxr-xr-x
Free 13.81 GB of 61.93 GB (22.29%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


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

namespace Guzzle\Service\Resource;

use 
Guzzle\Inflection\InflectorInterface;
use 
Guzzle\Inflection\Inflector;
use 
Guzzle\Service\Command\CommandInterface;

/**
 * Factory for creating {@see ResourceIteratorInterface} objects using a convention of storing iterator classes under a
 * root namespace using the name of a {@see CommandInterface} object as a convention for determining the name of an
 * iterator class. The command name is converted to CamelCase and Iterator is appended (e.g. abc_foo => AbcFoo).
 */
class ResourceIteratorClassFactory extends AbstractResourceIteratorFactory
{
    
/** @var array List of namespaces used to look for classes */
    
protected $namespaces;

    
/** @var InflectorInterface Inflector used to determine class names */
    
protected $inflector;

    
/**
     * @param string|array       $namespaces List of namespaces for iterator objects
     * @param InflectorInterface $inflector  Inflector used to resolve class names
     */
    
public function __construct($namespaces = array(), InflectorInterface $inflector null)
    {
        
$this->namespaces = (array) $namespaces;
        
$this->inflector $inflector ?: Inflector::getDefault();
    }

    
/**
     * Registers a namespace to check for Iterators
     *
     * @param string $namespace Namespace which contains Iterator classes
     *
     * @return self
     */
    
public function registerNamespace($namespace)
    {
        
array_unshift($this->namespaces$namespace);

        return 
$this;
    }

    protected function 
getClassName(CommandInterface $command)
    {
        
$iteratorName $this->inflector->camel($command->getName()) . 'Iterator';

        
// Determine the name of the class to load
        
foreach ($this->namespaces as $namespace) {
            
$potentialClassName $namespace '\\' $iteratorName;
            if (
class_exists($potentialClassName)) {
                return 
$potentialClassName;
            }
        }

        return 
false;
    }
}

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