Remove boilerplate code block from APIv4 classes
[civicrm-core.git] / Civi / Api4 / Domain.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 * Domains - multisite instances of CiviCRM.
15 *
0493ec47 16 * @see https://docs.civicrm.org/sysadmin/en/latest/setup/multisite/
aa998597 17 * @searchable none
19b53e5b
C
18 * @package Civi\Api4
19 */
20class Domain extends Generic\DAOEntity {
21
6764a9d3
CW
22 /**
23 * @param bool $checkPermissions
24 * @return Action\Domain\Get
25 */
26 public static function get($checkPermissions = TRUE) {
27 return (new Action\Domain\Get(__CLASS__, __FUNCTION__))
28 ->setCheckPermissions($checkPermissions);
19b53e5b
C
29 }
30
31}