freescout-restricted-customers/src/Mailbox.php

20 lines
468 B
PHP
Raw Normal View History

<?php
/*
SPDX-License-Identifier: AGPL
SPDX-FileCopyrightText: © 2024 Millions Missing FRANCE <info@millionsmissing.fr>
*/
namespace MillionsMissingFrance\FreescoutRestrictedCustomers;
use MillionsMissingFrance\FreescoutRestrictedCustomers\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);
}
}