You are here

public function NullIncludedData::__construct in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/jsonapi/src/JsonApiResource/NullIncludedData.php \Drupal\jsonapi\JsonApiResource\NullIncludedData::__construct()
  2. 9 core/modules/jsonapi/src/JsonApiResource/NullIncludedData.php \Drupal\jsonapi\JsonApiResource\NullIncludedData::__construct()

NullData constructor.

File

core/modules/jsonapi/src/JsonApiResource/NullIncludedData.php, line 19

Class

NullIncludedData
Use when there are no included resources but a Data object is required.

Namespace

Drupal\jsonapi\JsonApiResource

Code

public function __construct() {
  parent::__construct([]);
}