freescout-restricted-customers/Entities/Mailbox.php

19 lines
437 B
PHP

<?php
/*
SPDX-License-Identifier: AGPL-3.0-only
SPDX-FileCopyrightText: © 2024 Millions Missing FRANCE <info@millionsmissing.fr>
*/
namespace Modules\MMFRestrictedCustomers;
use Modules\MMFRestrictedCustomers\Customer;
use App\Mailbox as BaseMailbox;
class Mailbox extends BaseMailbox {
/**
* Get the Customers that are linked to this Mailbox.
*/
public function customers() {
return $this->hasMany(Customer::class);
}
}