/
opt
/
alt
/
php54
/
usr
/
share
/
pear
/
Symfony
/
Component
/
DependencyInjection
/
Compiler
/
/opt/alt/php54/usr/share/pear/Symfony/Component/DependencyInjection/Compiler
mkdir
upload
Name
Size
Mode
Actions
AnalyzeServiceReferencesPass.php
4512
0644
edit
dl
rm
CheckCircularReferencesPass.php
2417
0644
edit
dl
rm
CheckDefinitionValidityPass.php
3684
0644
edit
dl
rm
CheckExceptionOnInvalidReferenceBehaviorPass.php
2102
0644
edit
dl
rm
CheckReferenceValidityPass.php
5634
0644
edit
dl
rm
Compiler.php
2613
0644
edit
dl
rm
CompilerPassInterface.php
746
0644
edit
dl
rm
InlineServiceDefinitionsPass.php
4592
0644
edit
dl
rm
LoggingFormatter.php
1468
0644
edit
dl
rm
MergeExtensionConfigurationPass.php
1884
0644
edit
dl
rm
PassConfig.php
6040
0644
edit
dl
rm
RemoveAbstractDefinitionsPass.php
1063
0644
edit
dl
rm
RemovePrivateAliasesPass.php
1267
0644
edit
dl
rm
RemoveUnusedDefinitionsPass.php
2772
0644
edit
dl
rm
RepeatablePassInterface.php
691
0644
edit
dl
rm
RepeatedPass.php
2083
0644
edit
dl
rm
ReplaceAliasByActualDefinitionPass.php
4166
0644
edit
dl
rm
ResolveDefinitionTemplatesPass.php
5550
0644
edit
dl
rm
ResolveInvalidReferencesPass.php
3500
0644
edit
dl
rm
ResolveParameterPlaceHoldersPass.php
2158
0644
edit
dl
rm
ResolveReferencesToAliasesPass.php
2896
0644
edit
dl
rm
ServiceReferenceGraph.php
2857
0644
edit
dl
rm
ServiceReferenceGraphEdge.php
1517
0644
edit
dl
rm
ServiceReferenceGraphNode.php
2545
0644
edit
dl
rm
Edit:
/opt/alt/php54/usr/share/pear/Symfony/Component/DependencyInjection/Compiler/Compiler.php
(2613B)
<?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); } } }
Save
cmd:
run