1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-15 15:42:51 +01:00
invoiceninja/app/Helpers/Mail/Webhook/BaseWebhookHandler.php
2023-12-15 18:15:55 +01:00

28 lines
550 B
PHP

<?php
/**
* Invoice Ninja (https://invoiceninja.com).
*
* @link https://github.com/invoiceninja/invoiceninja source repository
*
* @copyright Copyright (c) 2023. Invoice Ninja LLC (https://invoiceninja.com)
*
* @license https://www.elastic.co/licensing/elastic-license
*/
namespace App\Helpers\Mail\Webhook;
use App\Models\Company;
interface BaseWebhookHandler
{
public function process()
{
}
protected function matchCompany(string $email)
{
return Company::where("expense_mailbox", $email)->first();
}
}