[Container] Added function array_unique on getServiceIds to return only one service name

This commit is contained in:
Bertrand Zuchuat 2011-04-20 23:45:36 +02:00
parent ea021062ba
commit 7ed8ea25d8

View File

@ -256,7 +256,7 @@ class Container implements ContainerInterface
}
}
return array_merge($ids, array_keys($this->services));
return array_unique(array_merge($ids, array_keys($this->services)));
}
/**