| Conditions | 2 |
| Paths | 2 |
| Total Lines | 10 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 30 | public function handle() |
||
| 31 | { |
||
| 32 | $generator = new Generator(); |
||
| 33 | |||
| 34 | foreach ($generator->getCities() as $key => $city) { |
||
| 35 | $generator->clearAddresses()->setCities($city)->getRandomAddress(); |
||
| 36 | |||
| 37 | $addresses = $generator->getAllAddresses()[$key]; |
||
| 38 | |||
| 39 | $this->info($city . '. Адресов: ' . number_format($addresses->count(), 0, '.', ' ')); |
||
| 40 | } |
||
| 43 |