Total Complexity | 2 |
Total Lines | 33 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
18 | final class ContextCreator implements ContextCreatorInterface |
||
19 | { |
||
20 | public const ENTRY_SCRIPT = __DIR__ . '/worker-entry.php'; |
||
21 | |||
22 | public function __construct( |
||
25 | } |
||
26 | |||
27 | /** |
||
28 | * @template TWorkerProtocol of MessageProtocolInterface |
||
29 | * @template TControllerProtocol of MessageProtocolInterface |
||
30 | * @param class-string<WorkerEntryPointInterface> $entry_point_class |
||
31 | * @param class-string<TWorkerProtocol> $worker_protocol_class |
||
32 | * @param class-string<TControllerProtocol> $controller_protocol_class |
||
33 | * @return ContextInterface<TControllerProtocol> |
||
34 | */ |
||
35 | public function create( |
||
54 |