| Conditions | 2 |
| Paths | 2 |
| Total Lines | 22 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 22 | public function create() : void |
||
| 23 | { |
||
| 24 | $preBeanTemplate = '<?php |
||
| 25 | %% |
||
| 26 | %%use bitExpert\Disco\BeanFactoryRegistry; |
||
| 27 | %%use bitExpert\Disco\Annotations\Alias; |
||
| 28 | %%use bitExpert\Disco\Annotations\Bean; |
||
| 29 | %%use bitExpert\Disco\Annotations\Parameter; |
||
| 30 | %% |
||
| 31 | %%trait ManeroConfigTrait |
||
| 32 | %%{'; |
||
| 33 | |||
| 34 | $postBeanTemplate = ' |
||
| 35 | %%} |
||
| 36 | %%'; |
||
| 37 | |||
| 38 | $this->write($preBeanTemplate); |
||
| 39 | /** @var \Manero\Creator\Createable $creator */ |
||
| 40 | foreach ($this->creators as $creator) { |
||
| 41 | $creator->create(); |
||
| 42 | } |
||
| 43 | $this->write($postBeanTemplate); |
||
| 44 | } |
||
| 78 |