| Conditions | 1 |
| Paths | 1 |
| Total Lines | 12 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 24 | protected function execute(InputInterface $input, OutputInterface $output) |
||
| 25 | { |
||
| 26 | $manager = $this->getContainer()->get('doctrine.orm.entity_manager'); |
||
| 27 | |||
| 28 | $user = new User( |
||
| 29 | UserId::generate() |
||
| 30 | ); |
||
| 31 | $manager->persist($user); |
||
| 32 | $manager->flush(); |
||
| 33 | |||
| 34 | $output->writeln('Population is successfully done'); |
||
| 35 | } |
||
| 36 | } |
||
| 37 |