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