| @@ 72-74 (lines=3) @@ | ||
| 69 | $output->writeln('Customer: id='.$Customer->getId().' '.$Customer->getEmail()); |
|
| 70 | break; |
|
| 71 | } |
|
| 72 | if ($output->getVerbosity() >= OutputInterface::VERBOSITY_NORMAL && ($i % 100) === 0 && $i > 0) { |
|
| 73 | $output->writeln(' ...'.$i); |
|
| 74 | } |
|
| 75 | $Customers[] = $Customer; |
|
| 76 | } |
|
| 77 | for ($i = 0; $i < $numberOfProducts; $i++) { |
|
| @@ 91-93 (lines=3) @@ | ||
| 88 | $output->writeln('Product: id='.$Product->getId().' '.$Product->getName()); |
|
| 89 | break; |
|
| 90 | } |
|
| 91 | if ($output->getVerbosity() >= OutputInterface::VERBOSITY_NORMAL && ($i % 100) === 0 && $i > 0) { |
|
| 92 | $output->writeln(' ...'.$i); |
|
| 93 | } |
|
| 94 | $Products[] = $Product; |
|
| 95 | } |
|
| 96 | $Deliveries = $this->app['eccube.repository.delivery']->findAll(); |
|
| @@ 122-124 (lines=3) @@ | ||
| 119 | } |
|
| 120 | $this->app['orm.em']->flush($Order); |
|
| 121 | $j++; |
|
| 122 | if ($output->getVerbosity() >= OutputInterface::VERBOSITY_NORMAL && ($j % 100) === 0 && $j > 0) { |
|
| 123 | $output->writeln(' ...'.$j); |
|
| 124 | } |
|
| 125 | } |
|
| 126 | } |
|
| 127 | $output->writeln(''); |
|