Skip to content

Commit ef7cbd4

Browse files
authored
Add bootstrap config (#376)
1 parent aa1c63f commit ef7cbd4

2 files changed

Lines changed: 11 additions & 1 deletion

File tree

config/common/bootstrap.php

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
<?php
2+
3+
declare(strict_types=1);
4+
5+
use Psr\Container\ContainerInterface;
6+
7+
/**
8+
* @psalm-var list<callable(ContainerInterface): void>
9+
*/
10+
return [];

config/configuration.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
'events-web' => ['$events'],
3434
'events-console' => ['$events'],
3535
'routes' => 'common/routes.php',
36-
'bootstrap' => [],
36+
'bootstrap' => 'common/bootstrap.php',
3737
'bootstrap-web' => '$bootstrap',
3838
'bootstrap-console' => '$bootstrap',
3939
],

0 commit comments

Comments
 (0)