We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e84759e commit c5f51e8Copy full SHA for c5f51e8
templates/web/src/Program.php
@@ -11,14 +11,11 @@ class Program
11
public static function main(array $args = [])
12
{
13
$builder = WebHost::createDefaultBuilder($args);
14
- $configuration = $builder->Configuration;
15
-
16
- $builder->register(function ($services) use ($configuration) {
+ $builder->register(function ($services) {
17
// Services
18
});
19
20
$host = $builder->build();
21
22
$host->start(function ($app) {
23
// Middlewares
24
$app->useRouter();
0 commit comments