Lines
100.00%
1 / 1
Functions and Methods
100.00%
1 / 1
Classes and Traits
100.00%
1 / 1
| Name | Lines | Functions and Methods | CRAP | Classes and Traits | ||||||
|---|---|---|---|---|---|---|---|---|---|---|
| AppRuntimeServices | 100.00% | 1 / 1 | 100.00% | 1 / 1 | 1 | 100.00% | 1 / 1 | |||
| __construct | 100.00% | 1 / 1 | 100.00% | 1 / 1 | 1 | |||||
| 1 | <?php | |
| 2 | ||
| 3 | declare(strict_types=1); | |
| 4 | ||
| 5 | namespace Stewart\Runtime\Container; | |
| 6 | ||
| 7 | use Stewart\Contracts\Sun\SunCalendar; | |
| 8 | use Stewart\Contracts\Time\Clock; | |
| 9 | use Stewart\Contracts\Time\Timers; | |
| 10 | use Stewart\Runtime\App\GeneratedRoots; | |
| 11 | use Stewart\Runtime\Schedule\WorkerScheduler; | |
| 12 | use Stewart\Runtime\Worker\WorkerEntityExposure; | |
| 13 | use Stewart\Runtime\Worker\WorkerHaContext; | |
| 14 | use Stewart\Runtime\Worker\WorkerLogger; | |
| 15 | use Stewart\Runtime\Worker\WorkerMqtt; | |
| 16 | use Stewart\Runtime\Worker\WorkerRegistryEditor; | |
| 17 | use Stewart\Store\Stores; | |
| 18 | use Stewart\Support\Time\Deadlines; | |
| 19 | ||
| 20 | final readonly class AppRuntimeServices | |
| 21 | { | |
| 22 | public function __construct( | |
| 23 | public WorkerLogger $logger, | |
| 24 | public Clock $clock, | |
| 25 | public Timers&Deadlines $timers, | |
| 26 | public WorkerScheduler $scheduler, | |
| 27 | public WorkerHaContext $context, | |
| 28 | public Stores $stores, | |
| 29 | public WorkerMqtt $mqtt, | |
| 30 | public WorkerEntityExposure $exposure, | |
| 31 | public WorkerRegistryEditor $registryEditor, | |
| 32 | public SunCalendar $sunCalendar, | |
| 33 | public ?GeneratedRoots $generated = null, | |
| 34 | ) {} | |
| 35 | } |