| Total Complexity | 5 |
| Total Lines | 24 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 17 | final class GenerateModifiers implements GeneratorInterface |
||
| 18 | { |
||
| 19 | 6 | public function run(Registry $registry): Registry |
|
| 20 | { |
||
| 21 | 6 | foreach ($registry as $entity) { |
|
| 22 | 6 | $this->register($registry, $entity); |
|
| 23 | } |
||
| 24 | |||
| 25 | 2 | return $registry; |
|
| 26 | } |
||
| 27 | |||
| 28 | 6 | protected function register(Registry $registry, Entity $entity): void |
|
| 41 | ); |
||
| 42 | } |
||
| 46 |