Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
Total | n/a |
0 / 0 |
n/a |
0 / 0 |
CRAP | n/a |
0 / 0 |
1 | <?php |
2 | |
3 | declare(strict_types=1); |
4 | |
5 | namespace PeServer\Core\Mvc; |
6 | |
7 | use PeServer\Core\Mvc\LogicParameter; |
8 | |
9 | interface ILogicFactory |
10 | { |
11 | #region function |
12 | |
13 | /** |
14 | * ロジック生成。 |
15 | * |
16 | * @template TLogicBase of LogicBase |
17 | * @param non-empty-string $logicClassName |
18 | * @phpstan-param class-string<TLogicBase> $logicClassName |
19 | * @param array<int|string,mixed> $arguments |
20 | * @return LogicBase |
21 | * @phpstan-return TLogicBase |
22 | */ |
23 | public function createLogic(string $logicClassName, array $arguments = []): LogicBase; |
24 | |
25 | #endregion |
26 | } |