Conditions | 1 |
Paths | 1 |
Total Lines | 9 |
Code Lines | 4 |
Lines | 0 |
Ratio | 0 % |
Tests | 0 |
CRAP Score | 2 |
Changes | 2 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
18 | public function getGenerator(): GeneratorInterface |
||
19 | { |
||
20 | /** @var AbstractGenerator $generator */ |
||
21 | $generator = $this->gii->getGenerator($this->getAttributeValue('router.generator')); |
||
22 | |||
23 | $generator->loadStickyAttributes(); |
||
24 | $generator->load((array)$this->getAttributeValue('body')); |
||
25 | |||
26 | return $generator; |
||
27 | } |
||
34 |