$73 GRAYBYTE WORDPRESS FILE MANAGER $75

SERVER : vnpttt-amd7f72-h1.vietnix.vn #1 SMP Fri May 24 12:42:50 UTC 2024
SERVER IP : 103.200.23.149 | ADMIN IP 216.73.216.22
OPTIONS : CRL = ON | WGT = ON | SDO = OFF | PKEX = OFF
DEACTIVATED : NONE

/opt/alt/php55/usr/share/pear/Symfony/Component/DependencyInjection/Compiler/

HOME
Current File : /opt/alt/php55/usr/share/pear/Symfony/Component/DependencyInjection/Compiler//Compiler.php
<?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\ContainerBuilder;

/**
 * This class is used to remove circular dependencies between individual passes.
 *
 * @author Johannes M. Schmitt <schmittjoh@gmail.com>
 *
 * @api
 */
class Compiler
{
    private $passConfig;
    private $log = array();
    private $loggingFormatter;
    private $serviceReferenceGraph;

    /**
     * Constructor.
     */
    public function __construct()
    {
        $this->passConfig = new PassConfig();
        $this->serviceReferenceGraph = new ServiceReferenceGraph();
        $this->loggingFormatter = new LoggingFormatter();
    }

    /**
     * Returns the PassConfig.
     *
     * @return PassConfig The PassConfig instance
     *
     * @api
     */
    public function getPassConfig()
    {
        return $this->passConfig;
    }

    /**
     * Returns the ServiceReferenceGraph.
     *
     * @return ServiceReferenceGraph The ServiceReferenceGraph instance
     *
     * @api
     */
    public function getServiceReferenceGraph()
    {
        return $this->serviceReferenceGraph;
    }

    /**
     * Returns the logging formatter which can be used by compilation passes.
     *
     * @return LoggingFormatter
     */
    public function getLoggingFormatter()
    {
        return $this->loggingFormatter;
    }

    /**
     * Adds a pass to the PassConfig.
     *
     * @param CompilerPassInterface $pass A compiler pass
     * @param string                $type The type of the pass
     *
     * @api
     */
    public function addPass(CompilerPassInterface $pass, $type = PassConfig::TYPE_BEFORE_OPTIMIZATION)
    {
        $this->passConfig->addPass($pass, $type);
    }

    /**
     * Adds a log message.
     *
     * @param string $string The log message
     */
    public function addLogMessage($string)
    {
        $this->log[] = $string;
    }

    /**
     * Returns the log.
     *
     * @return array Log array
     */
    public function getLog()
    {
        return $this->log;
    }

    /**
     * Run the Compiler and process all Passes.
     *
     * @param ContainerBuilder $container
     *
     * @api
     */
    public function compile(ContainerBuilder $container)
    {
        foreach ($this->passConfig->getPasses() as $pass) {
            $pass->process($container);
        }
    }
}

Current_dir [ NOT WRITEABLE ] Document_root [ WRITEABLE ]


[ Back ]
NAME
SIZE
LAST TOUCH
USER
CAN-I?
FUNCTIONS
..
--
31 Aug 2024 7.05 AM
root / root
0755
AnalyzeServiceReferencesPass.php
4.406 KB
18 Dec 2019 6.24 PM
root / root
0644
CheckCircularReferencesPass.php
2.36 KB
18 Dec 2019 6.24 PM
root / root
0644
CheckDefinitionValidityPass.php
3.598 KB
18 Dec 2019 6.24 PM
root / root
0644
CheckExceptionOnInvalidReferenceBehaviorPass.php
2.053 KB
18 Dec 2019 6.24 PM
root / root
0644
CheckReferenceValidityPass.php
5.502 KB
18 Dec 2019 6.24 PM
root / root
0644
Compiler.php
2.552 KB
18 Dec 2019 6.24 PM
root / root
0644
CompilerPassInterface.php
0.729 KB
18 Dec 2019 6.24 PM
root / root
0644
InlineServiceDefinitionsPass.php
4.484 KB
18 Dec 2019 6.24 PM
root / root
0644
LoggingFormatter.php
1.434 KB
18 Dec 2019 6.24 PM
root / root
0644
MergeExtensionConfigurationPass.php
1.84 KB
18 Dec 2019 6.24 PM
root / root
0644
PassConfig.php
5.898 KB
18 Dec 2019 6.24 PM
root / root
0644
RemoveAbstractDefinitionsPass.php
1.038 KB
18 Dec 2019 6.24 PM
root / root
0644
RemovePrivateAliasesPass.php
1.237 KB
18 Dec 2019 6.24 PM
root / root
0644
RemoveUnusedDefinitionsPass.php
2.707 KB
18 Dec 2019 6.24 PM
root / root
0644
RepeatablePassInterface.php
0.675 KB
18 Dec 2019 6.24 PM
root / root
0644
RepeatedPass.php
2.034 KB
18 Dec 2019 6.24 PM
root / root
0644
ReplaceAliasByActualDefinitionPass.php
4.068 KB
18 Dec 2019 6.24 PM
root / root
0644
ResolveDefinitionTemplatesPass.php
5.42 KB
18 Dec 2019 6.24 PM
root / root
0644
ResolveInvalidReferencesPass.php
3.418 KB
18 Dec 2019 6.24 PM
root / root
0644
ResolveParameterPlaceHoldersPass.php
2.107 KB
18 Dec 2019 6.24 PM
root / root
0644
ResolveReferencesToAliasesPass.php
2.828 KB
18 Dec 2019 6.24 PM
root / root
0644
ServiceReferenceGraph.php
2.79 KB
18 Dec 2019 6.24 PM
root / root
0644
ServiceReferenceGraphEdge.php
1.481 KB
18 Dec 2019 6.24 PM
root / root
0644
ServiceReferenceGraphNode.php
2.485 KB
18 Dec 2019 6.24 PM
root / root
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2026 CONTACT ME
Static GIF