blob: 6d5da0c1c6ac9d0438f0858ef3a6823a941821d3 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
<?php
namespace Drupal\jsonapi\JsonApiResource;
/**
* Use when there are no included resources but a Data object is required.
*
* @internal JSON:API maintains no PHP API. The API is the HTTP API. This class
* may change at any time and could break any dependencies on it.
*
* @see https://www.drupal.org/project/drupal/issues/3032787
* @see jsonapi.api.php
*/
class NullIncludedData extends IncludedData {
/**
* NullData constructor.
*/
public function __construct() {
parent::__construct([]);
}
}
|