This commit is contained in:
2023-08-16 00:34:06 +08:00
parent e5e2c2ea74
commit f433cff03d
@@ -91,7 +91,6 @@ abstract class BaseApplication extends Component
public function mapping(ConfigProvider $config): void
{
$this->container->bind(LoggerInterface::class, new StdoutLogger());
$this->container->set(PoolInterface::class, Pool::class);
foreach ($config->get('mapping', []) as $interface => $class) {
$this->container->set($interface, $class);
}