comparison vendor/symfony/dependency-injection/Compiler/InlineServiceDefinitionsPass.php @ 12:7a779792577d

Update Drupal core to v8.4.5 (via Composer)
author Chris Cannam
date Fri, 23 Feb 2018 15:52:07 +0000
parents 4c8ae668cc8c
children 1fec387a4317
comparison
equal deleted inserted replaced
11:bfffd8d7479a 12:7a779792577d
109 { 109 {
110 if (!$definition->isShared()) { 110 if (!$definition->isShared()) {
111 return true; 111 return true;
112 } 112 }
113 113
114 if ($definition->isPublic() || $definition->isLazy()) { 114 if ($definition->isDeprecated() || $definition->isPublic() || $definition->isLazy()) {
115 return false; 115 return false;
116 } 116 }
117 117
118 if (!$this->graph->hasNode($id)) { 118 if (!$this->graph->hasNode($id)) {
119 return true; 119 return true;