updated application.php
This commit is contained in:
@@ -60,10 +60,12 @@ class Application extends App implements IBootstrap
|
||||
return new Ytdl($config);
|
||||
});
|
||||
|
||||
$context->registerService(Settings::class, function (ContainerInterface $c) use ($uid){
|
||||
$context->registerService(Settings::class, function (ContainerInterface $c) use ($uid) {
|
||||
return new Settings($uid);
|
||||
});
|
||||
|
||||
$context->registerService('uid', function (ContainerInterface $c) use ($uid) {
|
||||
return $uid;
|
||||
});
|
||||
//$context->injectFn([$this, 'registerSearchProviders']);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user