| 1 | <?php |
||
| 5 | class WebhookExchangeRepository extends EntityRepository |
||
| 6 | { |
||
| 7 | /** |
||
| 8 | * This method will find the webhook exchange with the given URL |
||
| 9 | * If it doesn't exist it will create it. |
||
| 10 | * |
||
| 11 | * @param string $url |
||
| 12 | * |
||
| 13 | * @return WebhookExchange |
||
| 14 | */ |
||
| 15 | public function findByUrlOrCreate(string $url): WebhookExchange |
||
| 29 | } |
||
| 30 |