| Total Complexity | 4 |
| Total Lines | 28 |
| Duplicated Lines | 0 % |
| Coverage | 0% |
| Changes | 3 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 13 | final class GeneratorRequest implements RequestInputInterface |
||
| 14 | { |
||
| 15 | #[RouteArgument('generator')] |
||
| 16 | private string $generatorId = ''; |
||
| 17 | |||
| 18 | #[Body('answers')] |
||
| 19 | private array $answers = []; |
||
| 20 | |||
| 21 | #[Body('parameters')] |
||
| 22 | private array $parameters = []; |
||
| 23 | |||
| 24 | public function __construct(private readonly GiiInterface $gii) |
||
| 25 | { |
||
| 26 | } |
||
| 27 | |||
| 28 | public function getGenerator(): GeneratorInterface |
||
| 31 | } |
||
| 32 | |||
| 33 | public function getAnswers(): array |
||
| 36 | } |
||
| 37 | |||
| 38 | public function getBody(): array |
||
| 43 |