Make search in debug:container command case-insensitive

This commit is contained in:
Jerzy Zawadzki 2017-11-22 14:58:23 +01:00
parent ae62e56d8a
commit c429c3346a

View File

@ -217,9 +217,8 @@ EOF
{
$serviceIds = $builder->getServiceIds();
$foundServiceIds = array();
$name = strtolower($name);
foreach ($serviceIds as $serviceId) {
if (false === strpos($serviceId, $name)) {
if (false === stripos($serviceId, $name)) {
continue;
}
$foundServiceIds[] = $serviceId;