qqq
This commit is contained in:
@@ -91,7 +91,6 @@ abstract class BaseApplication extends Component
|
|||||||
public function mapping(ConfigProvider $config): void
|
public function mapping(ConfigProvider $config): void
|
||||||
{
|
{
|
||||||
$this->container->bind(LoggerInterface::class, new StdoutLogger());
|
$this->container->bind(LoggerInterface::class, new StdoutLogger());
|
||||||
$this->container->set(PoolInterface::class, Pool::class);
|
|
||||||
foreach ($config->get('mapping', []) as $interface => $class) {
|
foreach ($config->get('mapping', []) as $interface => $class) {
|
||||||
$this->container->set($interface, $class);
|
$this->container->set($interface, $class);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user