Skip to content

Commit d84b62d

Browse files
committed
ContainerBuilder: fixed class names in meta field SERVICES (fixes fix 6cd15c0, which was in fact rather a bug) [Closes #59]
1 parent 7f853a7 commit d84b62d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/DI/ContainerBuilder.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -548,7 +548,7 @@ public function generateClasses($className = NULL, $parentName = NULL)
548548
->setValue(array(Container::TYPES => $this->classes));
549549

550550
foreach ($definitions as $name => $def) {
551-
$meta->value[Container::SERVICES][$name] = ($def->getImplement() ?: $def->getClass()) ?: NULL;
551+
$meta->value[Container::SERVICES][$name] = $def->getClass() ?: NULL;
552552
foreach ($def->getTags() as $tag => $value) {
553553
$meta->value[Container::TAGS][$tag][$name] = $value;
554554
}

0 commit comments

Comments
 (0)