| 1 | <?php |
| 2 | /* |
| 3 | +--------------------------------------------------------------------+ |
| 4 | | Copyright CiviCRM LLC. All rights reserved. | |
| 5 | | | |
| 6 | | This work is published under the GNU AGPLv3 license with some | |
| 7 | | permitted exceptions and without any warranty. For full license | |
| 8 | | and copyright information, see https://civicrm.org/licensing | |
| 9 | +--------------------------------------------------------------------+ |
| 10 | */ |
| 11 | namespace Civi\Api4; |
| 12 | |
| 13 | /** |
| 14 | * CaseContact BridgeEntity. |
| 15 | * |
| 16 | * This connects a client to a case. |
| 17 | * |
| 18 | * @searchable bridge |
| 19 | * @see \Civi\Api4\Case |
| 20 | * @since 5.37 |
| 21 | * @package Civi\Api4 |
| 22 | */ |
| 23 | class CaseContact extends Generic\DAOEntity { |
| 24 | use Generic\Traits\EntityBridge; |
| 25 | |
| 26 | protected static function getEntityTitle($plural = FALSE) { |
| 27 | return $plural ? ts('Case Clients') : ts('Case Client'); |
| 28 | } |
| 29 | |
| 30 | } |