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

Software: Apache. PHP/7.3.33 

uname -a: Linux acloudg.aryanict.com 4.18.0-513.9.1.lve.el8.x86_64 #1 SMP Mon Dec 4 15:01:22 UTC
2023 x86_64
 

uid=1095(katebhospital) gid=1098(katebhospital) groups=1098(katebhospital) 

Safe-mode: OFF (not secure)

/opt/alt/php55/usr/share/pear/Symfony/Component/DependencyInjection/Compiler/   drwxr-xr-x
Free 294.19 GB of 429.69 GB (68.47%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


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

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

namespace Symfony\Component\DependencyInjection\Compiler;

use 
Symfony\Component\DependencyInjection\Exception\InvalidArgumentException;

/**
 * Compiler Pass Configuration
 *
 * This class has a default configuration embedded.
 *
 * @author Johannes M. Schmitt <schmittjoh@gmail.com>
 *
 * @api
 */
class PassConfig
{
    const 
TYPE_AFTER_REMOVING 'afterRemoving';
    const 
TYPE_BEFORE_OPTIMIZATION 'beforeOptimization';
    const 
TYPE_BEFORE_REMOVING 'beforeRemoving';
    const 
TYPE_OPTIMIZE 'optimization';
    const 
TYPE_REMOVE 'removing';

    private 
$mergePass;
    private 
$afterRemovingPasses = array();
    private 
$beforeOptimizationPasses = array();
    private 
$beforeRemovingPasses = array();
    private 
$optimizationPasses;
    private 
$removingPasses;

    
/**
     * Constructor.
     */
    
public function __construct()
    {
        
$this->mergePass = new MergeExtensionConfigurationPass();

        
$this->optimizationPasses = array(
            new 
ResolveDefinitionTemplatesPass(),
            new 
ResolveParameterPlaceHoldersPass(),
            new 
CheckDefinitionValidityPass(),
            new 
ResolveReferencesToAliasesPass(),
            new 
ResolveInvalidReferencesPass(),
            new 
AnalyzeServiceReferencesPass(true),
            new 
CheckCircularReferencesPass(),
            new 
CheckReferenceValidityPass(),
        );

        
$this->removingPasses = array(
            new 
RemovePrivateAliasesPass(),
            new 
RemoveAbstractDefinitionsPass(),
            new 
ReplaceAliasByActualDefinitionPass(),
            new 
RepeatedPass(array(
                new 
AnalyzeServiceReferencesPass(),
                new 
InlineServiceDefinitionsPass(),
                new 
AnalyzeServiceReferencesPass(),
                new 
RemoveUnusedDefinitionsPass(),
            )),
            new 
CheckExceptionOnInvalidReferenceBehaviorPass(),
        );
    }

    
/**
     * Returns all passes in order to be processed.
     *
     * @return array An array of all passes to process
     *
     * @api
     */
    
public function getPasses()
    {
        return 
array_merge(
            array(
$this->mergePass),
            
$this->beforeOptimizationPasses,
            
$this->optimizationPasses,
            
$this->beforeRemovingPasses,
            
$this->removingPasses,
            
$this->afterRemovingPasses
        
);
    }

    
/**
     * Adds a pass.
     *
     * @param CompilerPassInterface $pass A Compiler pass
     * @param string                $type The pass type
     *
     * @throws InvalidArgumentException when a pass type doesn't exist
     *
     * @api
     */
    
public function addPass(CompilerPassInterface $pass$type self::TYPE_BEFORE_OPTIMIZATION)
    {
        
$property $type.'Passes';
        if (!isset(
$this->$property)) {
            throw new 
InvalidArgumentException(sprintf('Invalid type "%s".'$type));
        }

        
$passes = &$this->$property;
        
$passes[] = $pass;
    }

    
/**
     * Gets all passes for the AfterRemoving pass.
     *
     * @return array An array of passes
     *
     * @api
     */
    
public function getAfterRemovingPasses()
    {
        return 
$this->afterRemovingPasses;
    }

    
/**
     * Gets all passes for the BeforeOptimization pass.
     *
     * @return array An array of passes
     *
     * @api
     */
    
public function getBeforeOptimizationPasses()
    {
        return 
$this->beforeOptimizationPasses;
    }

    
/**
     * Gets all passes for the BeforeRemoving pass.
     *
     * @return array An array of passes
     *
     * @api
     */
    
public function getBeforeRemovingPasses()
    {
        return 
$this->beforeRemovingPasses;
    }

    
/**
     * Gets all passes for the Optimization pass.
     *
     * @return array An array of passes
     *
     * @api
     */
    
public function getOptimizationPasses()
    {
        return 
$this->optimizationPasses;
    }

    
/**
     * Gets all passes for the Removing pass.
     *
     * @return array An array of passes
     *
     * @api
     */
    
public function getRemovingPasses()
    {
        return 
$this->removingPasses;
    }

    
/**
     * Gets all passes for the Merge pass.
     *
     * @return array An array of passes
     *
     * @api
     */
    
public function getMergePass()
    {
        return 
$this->mergePass;
    }

    
/**
     * Sets the Merge Pass.
     *
     * @param CompilerPassInterface $pass The merge pass
     *
     * @api
     */
    
public function setMergePass(CompilerPassInterface $pass)
    {
        
$this->mergePass $pass;
    }

    
/**
     * Sets the AfterRemoving passes.
     *
     * @param array $passes An array of passes
     *
     * @api
     */
    
public function setAfterRemovingPasses(array $passes)
    {
        
$this->afterRemovingPasses $passes;
    }

    
/**
     * Sets the BeforeOptimization passes.
     *
     * @param array $passes An array of passes
     *
     * @api
     */
    
public function setBeforeOptimizationPasses(array $passes)
    {
        
$this->beforeOptimizationPasses $passes;
    }

    
/**
     * Sets the BeforeRemoving passes.
     *
     * @param array $passes An array of passes
     *
     * @api
     */
    
public function setBeforeRemovingPasses(array $passes)
    {
        
$this->beforeRemovingPasses $passes;
    }

    
/**
     * Sets the Optimization passes.
     *
     * @param array $passes An array of passes
     *
     * @api
     */
    
public function setOptimizationPasses(array $passes)
    {
        
$this->optimizationPasses $passes;
    }

    
/**
     * Sets the Removing passes.
     *
     * @param array $passes An array of passes
     *
     * @api
     */
    
public function setRemovingPasses(array $passes)
    {
        
$this->removingPasses $passes;
    }
}

:: 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 KaizenLouie | C99Shell Github | Generation time: 0.0046 ]--