!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 15.58 GB of 61.93 GB (25.16%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


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

namespace Guzzle\Service\Resource;

use 
Guzzle\Common\Exception\InvalidArgumentException;
use 
Guzzle\Service\Command\CommandInterface;

/**
 * Factory that utilizes multiple factories for creating iterators
 */
class CompositeResourceIteratorFactory implements ResourceIteratorFactoryInterface
{
    
/** @var array Array of factories */
    
protected $factories;

    
/** @param array $factories Array of factories used to instantiate iterators */
    
public function __construct(array $factories)
    {
        
$this->factories $factories;
    }

    public function 
build(CommandInterface $command, array $options = array())
    {
        if (!(
$factory $this->getFactory($command))) {
            throw new 
InvalidArgumentException('Iterator was not found for ' $command->getName());
        }

        return 
$factory->build($command$options);
    }

    public function 
canBuild(CommandInterface $command)
    {
        return 
$this->getFactory($command) !== false;
    }

    
/**
     * Add a factory to the composite factory
     *
     * @param ResourceIteratorFactoryInterface $factory Factory to add
     *
     * @return self
     */
    
public function addFactory(ResourceIteratorFactoryInterface $factory)
    {
        
$this->factories[] = $factory;

        return 
$this;
    }

    
/**
     * Get the factory that matches the command object
     *
     * @param CommandInterface $command Command retrieving the iterator for
     *
     * @return ResourceIteratorFactoryInterface|bool
     */
    
protected function getFactory(CommandInterface $command)
    {
        foreach (
$this->factories as $factory) {
            if (
$factory->canBuild($command)) {
                return 
$factory;
            }
        }

        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.3194 ]--