Skip to content
This repository was archived by the owner on Jan 29, 2020. It is now read-only.

Commit 201d8db

Browse files
committed
remove commented code at ServiceManagerConfig::configureServiceManager()
1 parent 0cb6770 commit 201d8db

File tree

1 file changed

+0
-29
lines changed

1 file changed

+0
-29
lines changed

src/Service/ServiceManagerConfig.php

Lines changed: 0 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -123,35 +123,6 @@ public function configureServiceManager(ServiceManager $services)
123123
{
124124
$this->config['services'][ServiceManager::class] = $services;
125125

126-
/*
127-
printf("Configuration prior to configuring servicemanager:\n");
128-
foreach ($this->config as $type => $list) {
129-
switch ($type) {
130-
case 'aliases':
131-
case 'delegators':
132-
case 'factories':
133-
case 'invokables':
134-
case 'lazy_services':
135-
case 'services':
136-
case 'shared':
137-
foreach (array_keys($list) as $name) {
138-
printf(" %s (%s)\n", $name, $type);
139-
}
140-
break;
141-
142-
case 'initializers':
143-
case 'abstract_factories':
144-
foreach ($list as $callable) {
145-
printf(" %s (%s)\n", (is_object($callable) ? get_class($callable) : $callable), $type);
146-
}
147-
break;
148-
149-
default:
150-
break;
151-
}
152-
}
153-
*/
154-
155126
// This is invoked as part of the bootstrapping process, and requires
156127
// the ability to override services.
157128
$services->setAllowOverride(true);

0 commit comments

Comments
 (0)