Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
Total | |
100.00% |
3 / 3 |
|
100.00% |
3 / 3 |
CRAP | |
100.00% |
1 / 1 |
ServiceProvider | |
100.00% |
3 / 3 |
|
100.00% |
3 / 3 |
3 | |
100.00% |
1 / 1 |
__construct | |
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
1 | |||
register | |
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
1 | |||
boot | |
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
1 |
1 | <?php |
2 | |
3 | declare(strict_types=1); |
4 | |
5 | namespace Engelsystem\Container; |
6 | |
7 | use Engelsystem\Application; |
8 | |
9 | abstract class ServiceProvider |
10 | { |
11 | /** |
12 | * ServiceProvider constructor. |
13 | */ |
14 | public function __construct(protected Application $app) |
15 | { |
16 | } |
17 | |
18 | /** |
19 | * Register container bindings |
20 | */ |
21 | public function register(): void |
22 | { |
23 | } |
24 | |
25 | /** |
26 | * Called after other services had been registered |
27 | */ |
28 | public function boot(): void |
29 | { |
30 | } |
31 | } |