Merge pull request #23901 from totten/nfc-install-docblock
[civicrm-core.git] / Civi / Api4 / Relationship.php
CommitLineData
19b53e5b 1<?php
380f3545
TO
2/*
3 +--------------------------------------------------------------------+
41498ac5 4 | Copyright CiviCRM LLC. All rights reserved. |
380f3545 5 | |
41498ac5
TO
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 |
380f3545
TO
9 +--------------------------------------------------------------------+
10 */
19b53e5b
C
11namespace Civi\Api4;
12
13/**
14 * Relationship entity.
15 *
0493ec47 16 * @see https://docs.civicrm.org/user/en/latest/organising-your-data/relationships/
aa998597 17 * @searchable none
d44cc3cb 18 * @since 5.19
19b53e5b
C
19 * @package Civi\Api4
20 */
21class Relationship extends Generic\DAOEntity {
22
23 /**
6764a9d3
CW
24 * @param bool $checkPermissions
25 * @return Action\Relationship\Get
19b53e5b 26 */
6764a9d3
CW
27 public static function get($checkPermissions = TRUE) {
28 return (new Action\Relationship\Get(static::class, __FUNCTION__))
29 ->setCheckPermissions($checkPermissions);
19b53e5b
C
30 }
31
32}