| Conditions | 2 |
| Paths | 2 |
| Total Lines | 10 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 30 | protected function execute(InputInterface $input, OutputInterface $output) |
||
| 31 | { |
||
| 32 | /** @var WebhookRepository $repository */ |
||
| 33 | $repository = $this->getContainer()->get('webhook.repository'); |
||
| 34 | |||
| 35 | for ($i = 1; $i <= 100; $i++) { |
||
| 36 | $webhook = new Webhook('http://httpbin.org/status/200', 'body'); |
||
| 37 | $repository->save($webhook); |
||
| 38 | } |
||
| 39 | } |
||
| 40 | } |