Skip to content

Commit

Permalink
$app app key'i ile ulaşılabilir yapıldı.
Browse files Browse the repository at this point in the history
  • Loading branch information
irfanevrens committed Feb 14, 2020
1 parent b35f501 commit 0cb8125
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Karma/AppFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ public static function create(?ContainerInterface $container = null): App
$app = \Slim\Factory\AppFactory::createFromContainer($container);

$container->set(App::class, $app);
$container->set('app', $app);

$app->getRouteCollector()->setDefaultInvocationStrategy(new ControllerInvoker(new Invoker(new ResolverChain([
// Inject parameters by name first
Expand Down

0 comments on commit 0cb8125

Please sign in to comment.