/
usr
/
share
/
php
/
Symfony
/
Component
/
DependencyInjection
/
Compiler
/
/usr/share/php/Symfony/Component/DependencyInjection/Compiler
mkdir
upload
Name
Size
Mode
Actions
AbstractRecursivePass.php
9331
0644
edit
dl
rm
AliasDeprecatedPublicServicesPass.php
2559
0644
edit
dl
rm
AnalyzeServiceReferencesPass.php
6326
0644
edit
dl
rm
AttributeAutoconfigurationPass.php
7622
0644
edit
dl
rm
AutoAliasServicePass.php
1908
0644
edit
dl
rm
AutowirePass.php
25219
0644
edit
dl
rm
AutowireRequiredMethodsPass.php
3867
0644
edit
dl
rm
AutowireRequiredPropertiesPass.php
2286
0644
edit
dl
rm
CheckArgumentsValidityPass.php
4386
0644
edit
dl
rm
CheckCircularReferencesPass.php
2448
0644
edit
dl
rm
CheckDefinitionValidityPass.php
4741
0644
edit
dl
rm
CheckExceptionOnInvalidReferenceBehaviorPass.php
3663
0644
edit
dl
rm
CheckReferenceValidityPass.php
1477
0644
edit
dl
rm
CheckTypeDeclarationsPass.php
12369
0644
edit
dl
rm
Compiler.php
2724
0644
edit
dl
rm
CompilerPassInterface.php
668
0644
edit
dl
rm
DecoratorServicePass.php
5257
0644
edit
dl
rm
DefinitionErrorExceptionPass.php
1870
0644
edit
dl
rm
ExtensionCompilerPass.php
892
0644
edit
dl
rm
InlineServiceDefinitionsPass.php
7585
0644
edit
dl
rm
MergeExtensionConfigurationPass.php
8563
0644
edit
dl
rm
PassConfig.php
7547
0644
edit
dl
rm
PriorityTaggedServiceTrait.php
6811
0644
edit
dl
rm
RegisterAutoconfigureAttributesPass.php
3353
0644
edit
dl
rm
RegisterEnvVarProcessorsPass.php
3004
0644
edit
dl
rm
RegisterReverseContainerPass.php
2422
0644
edit
dl
rm
RegisterServiceSubscribersPass.php
6651
0644
edit
dl
rm
RemoveAbstractDefinitionsPass.php
908
0644
edit
dl
rm
RemovePrivateAliasesPass.php
1114
0644
edit
dl
rm
RemoveUnusedDefinitionsPass.php
2860
0644
edit
dl
rm
ReplaceAliasByActualDefinitionPass.php
4491
0644
edit
dl
rm
ResolveBindingsPass.php
9233
0644
edit
dl
rm
ResolveChildDefinitionsPass.php
7538
0644
edit
dl
rm
ResolveClassPass.php
1561
0644
edit
dl
rm
ResolveDecoratorStackPass.php
4610
0644
edit
dl
rm
ResolveEnvPlaceholdersPass.php
1357
0644
edit
dl
rm
ResolveFactoryClassPass.php
1217
0644
edit
dl
rm
ResolveHotPathPass.php
2553
0644
edit
dl
rm
ResolveInstanceofConditionalsPass.php
7171
0644
edit
dl
rm
ResolveInvalidReferencesPass.php
5332
0644
edit
dl
rm
ResolveNamedArgumentsPass.php
5581
0644
edit
dl
rm
ResolveNoPreloadPass.php
3364
0644
edit
dl
rm
ResolveParameterPlaceHoldersPass.php
2969
0644
edit
dl
rm
ResolvePrivatesPass.php
1178
0644
edit
dl
rm
ResolveReferencesToAliasesPass.php
2758
0644
edit
dl
rm
ResolveServiceSubscribersPass.php
1637
0644
edit
dl
rm
ResolveTaggedIteratorArgumentPass.php
952
0644
edit
dl
rm
ServiceLocatorTagPass.php
5273
0644
edit
dl
rm
ServiceReferenceGraph.php
2644
0644
edit
dl
rm
ServiceReferenceGraphEdge.php
2184
0644
edit
dl
rm
ServiceReferenceGraphNode.php
2299
0644
edit
dl
rm
ValidateEnvPlaceholdersPass.php
3884
0644
edit
dl
rm
Edit:
/usr/share/php/Symfony/Component/DependencyInjection/Compiler/ServiceReferenceGraphNode.php
(2299B)
<?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\Alias; use Symfony\Component\DependencyInjection\Definition; /** * Represents a node in your service graph. * * Value is typically a definition, or an alias. * * @author Johannes M. Schmitt <schmittjoh@gmail.com> */ class ServiceReferenceGraphNode { private $id; private $inEdges = []; private $outEdges = []; private $value; /** * @param string $id The node identifier * @param mixed $value The node value */ public function __construct(string $id, $value) { $this->id = $id; $this->value = $value; } public function addInEdge(ServiceReferenceGraphEdge $edge) { $this->inEdges[] = $edge; } public function addOutEdge(ServiceReferenceGraphEdge $edge) { $this->outEdges[] = $edge; } /** * Checks if the value of this node is an Alias. * * @return bool */ public function isAlias() { return $this->value instanceof Alias; } /** * Checks if the value of this node is a Definition. * * @return bool */ public function isDefinition() { return $this->value instanceof Definition; } /** * Returns the identifier. * * @return string */ public function getId() { return $this->id; } /** * Returns the in edges. * * @return ServiceReferenceGraphEdge[] */ public function getInEdges() { return $this->inEdges; } /** * Returns the out edges. * * @return ServiceReferenceGraphEdge[] */ public function getOutEdges() { return $this->outEdges; } /** * Returns the value of this Node. * * @return mixed */ public function getValue() { return $this->value; } /** * Clears all edges. */ public function clear() { $this->inEdges = $this->outEdges = []; } }
Save
cmd:
run