/opt/alt/php55/usr/share/pear/Symfony/Component/DependencyInjection/Compiler
NameSizeModeActions
AnalyzeServiceReferencesPass.php45120644editdlrm
CheckCircularReferencesPass.php24170644editdlrm
CheckDefinitionValidityPass.php36840644editdlrm
CheckExceptionOnInvalidReferenceBehaviorPass.php21020644editdlrm
CheckReferenceValidityPass.php56340644editdlrm
Compiler.php26130644editdlrm
CompilerPassInterface.php7460644editdlrm
InlineServiceDefinitionsPass.php45920644editdlrm
LoggingFormatter.php14680644editdlrm
MergeExtensionConfigurationPass.php18840644editdlrm
PassConfig.php60400644editdlrm
RemoveAbstractDefinitionsPass.php10630644editdlrm
RemovePrivateAliasesPass.php12670644editdlrm
RemoveUnusedDefinitionsPass.php27720644editdlrm
RepeatablePassInterface.php6910644editdlrm
RepeatedPass.php20830644editdlrm
ReplaceAliasByActualDefinitionPass.php41660644editdlrm
ResolveDefinitionTemplatesPass.php55500644editdlrm
ResolveInvalidReferencesPass.php35000644editdlrm
ResolveParameterPlaceHoldersPass.php21580644editdlrm
ResolveReferencesToAliasesPass.php28960644editdlrm
ServiceReferenceGraph.php28570644editdlrm
ServiceReferenceGraphEdge.php15170644editdlrm
ServiceReferenceGraphNode.php25450644editdlrm
Edit: /opt/alt/php55/usr/share/pear/Symfony/Component/DependencyInjection/Compiler/Compiler.php (2613B)
* * 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 * * @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); } } }