!C99Shell v. 2.0 [PHP 7 Update] [25.02.2019]!

Software: nginx/1.23.4. PHP/5.6.40-65+ubuntu20.04.1+deb.sury.org+1 

uname -a: Linux foro-restaurado-2 5.15.0-1040-oracle #46-Ubuntu SMP Fri Jul 14 21:47:21 UTC 2023
aarch64
 

uid=33(www-data) gid=33(www-data) groups=33(www-data) 

Safe-mode: OFF (not secure)

/usr/share/php/Symfony/Component/DependencyInjection/Loader/Configurator/   drwxr-xr-x
Free 83.24 GB of 96.73 GB (86.05%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


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

/*
 * This file is part of the Symfony package.
 *
 * (c) Fabien Potencier <[email protected]>
 *
 * For the full copyright and license information, please view the LICENSE
 * file that was distributed with this source code.
 */

namespace Symfony\Component\DependencyInjection\Loader\Configurator;

use 
Symfony\Component\Config\Loader\ParamConfigurator;
use 
Symfony\Component\DependencyInjection\Argument\AbstractArgument;
use 
Symfony\Component\DependencyInjection\Argument\IteratorArgument;
use 
Symfony\Component\DependencyInjection\Argument\ServiceLocatorArgument;
use 
Symfony\Component\DependencyInjection\Argument\TaggedIteratorArgument;
use 
Symfony\Component\DependencyInjection\ContainerBuilder;
use 
Symfony\Component\DependencyInjection\Definition;
use 
Symfony\Component\DependencyInjection\Exception\InvalidArgumentException;
use 
Symfony\Component\DependencyInjection\Extension\ExtensionInterface;
use 
Symfony\Component\DependencyInjection\Loader\PhpFileLoader;
use 
Symfony\Component\ExpressionLanguage\Expression;

/**
 * @author Nicolas Grekas <[email protected]>
 */
class ContainerConfigurator extends AbstractConfigurator
{
    public const 
FACTORY 'container';

    private 
$container;
    private 
$loader;
    private 
$instanceof;
    private 
$path;
    private 
$file;
    private 
$anonymousCount 0;
    private 
$env;

    public function 
__construct(ContainerBuilder $containerPhpFileLoader $loader, array &$instanceofstring $pathstring $filestring $env null)
    {
        
$this->container $container;
        
$this->loader $loader;
        
$this->instanceof = &$instanceof;
        
$this->path $path;
        
$this->file $file;
        
$this->env $env;
    }

    final public function 
extension(string $namespace, array $config)
    {
        if (!
$this->container->hasExtension($namespace)) {
            
$extensions array_filter(array_map(function (ExtensionInterface $ext) { return $ext->getAlias(); }, $this->container->getExtensions()));
            throw new 
InvalidArgumentException(sprintf('There is no extension able to load the configuration for "%s" (in "%s"). Looked for namespace "%s", found "%s".'$namespace$this->file$namespace$extensions implode('", "'$extensions) : 'none'));
        }

        
$this->container->loadFromExtension($namespace, static::processValue($config));
    }

    final public function 
import(string $resourcestring $type null$ignoreErrors false)
    {
        
$this->loader->setCurrentDir(\dirname($this->path));
        
$this->loader->import($resource$type$ignoreErrors$this->file);
    }

    final public function 
parameters(): ParametersConfigurator
    
{
        return new 
ParametersConfigurator($this->container);
    }

    final public function 
services(): ServicesConfigurator
    
{
        return new 
ServicesConfigurator($this->container$this->loader$this->instanceof$this->path$this->anonymousCount);
    }

    
/**
     * Get the current environment to be able to write conditional configuration.
     */
    
final public function env(): ?string
    
{
        return 
$this->env;
    }

    
/**
     * @return static
     */
    
final public function withPath(string $path): self
    
{
        
$clone = clone $this;
        
$clone->path $clone->file $path;
        
$clone->loader->setCurrentDir(\dirname($path));

        return 
$clone;
    }
}

/**
 * Creates a parameter.
 */
function param(string $name): ParamConfigurator
{
    return new 
ParamConfigurator($name);
}

/**
 * Creates a service reference.
 *
 * @deprecated since Symfony 5.1, use service() instead.
 */
function ref(string $id): ReferenceConfigurator
{
    
trigger_deprecation('symfony/dependency-injection''5.1''"%s()" is deprecated, use "service()" instead.'__FUNCTION__);

    return new 
ReferenceConfigurator($id);
}

/**
 * Creates a reference to a service.
 */
function service(string $serviceId): ReferenceConfigurator
{
    return new 
ReferenceConfigurator($serviceId);
}

/**
 * Creates an inline service.
 *
 * @deprecated since Symfony 5.1, use inline_service() instead.
 */
function inline(string $class null): InlineServiceConfigurator
{
    
trigger_deprecation('symfony/dependency-injection''5.1''"%s()" is deprecated, use "inline_service()" instead.'__FUNCTION__);

    return new 
InlineServiceConfigurator(new Definition($class));
}

/**
 * Creates an inline service.
 */
function inline_service(string $class null): InlineServiceConfigurator
{
    return new 
InlineServiceConfigurator(new Definition($class));
}

/**
 * Creates a service locator.
 *
 * @param ReferenceConfigurator[] $values
 */
function service_locator(array $values): ServiceLocatorArgument
{
    return new 
ServiceLocatorArgument(AbstractConfigurator::processValue($valuestrue));
}

/**
 * Creates a lazy iterator.
 *
 * @param ReferenceConfigurator[] $values
 */
function iterator(array $values): IteratorArgument
{
    return new 
IteratorArgument(AbstractConfigurator::processValue($valuestrue));
}

/**
 * Creates a lazy iterator by tag name.
 */
function tagged_iterator(string $tagstring $indexAttribute nullstring $defaultIndexMethod nullstring $defaultPriorityMethod null): TaggedIteratorArgument
{
    return new 
TaggedIteratorArgument($tag$indexAttribute$defaultIndexMethodfalse$defaultPriorityMethod);
}

/**
 * Creates a service locator by tag name.
 */
function tagged_locator(string $tagstring $indexAttribute nullstring $defaultIndexMethod nullstring $defaultPriorityMethod null): ServiceLocatorArgument
{
    return new 
ServiceLocatorArgument(new TaggedIteratorArgument($tag$indexAttribute$defaultIndexMethodtrue$defaultPriorityMethod));
}

/**
 * Creates an expression.
 */
function expr(string $expression): Expression
{
    return new 
Expression($expression);
}

/**
 * Creates an abstract argument.
 */
function abstract_arg(string $description): AbstractArgument
{
    return new 
AbstractArgument($description);
}

/**
 * Creates an environment variable reference.
 */
function env(string $name): EnvConfigurator
{
    return new 
EnvConfigurator($name);
}

/**
 * Creates a closure service reference.
 */
function service_closure(string $serviceId): ClosureReferenceConfigurator
{
    return new 
ClosureReferenceConfigurator($serviceId);
}

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ Read-Only ]

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

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

--[ c99shell v. 2.0 [PHP 7 Update] [25.02.2019] maintained by HackingTool | HackingTool | Generation time: 0.0048 ]--