Code Coverage
 
Lines
Functions and Methods
Classes and Traits
Total
0.00% covered (danger)
0.00%
0 / 1
0.00% covered (danger)
0.00%
0 / 1
CRAP
0.00% covered (danger)
0.00%
0 / 1
FullArrayEntitySchemaData
0.00% covered (danger)
0.00%
0 / 1
0.00% covered (danger)
0.00%
0 / 1
2
0.00% covered (danger)
0.00%
0 / 1
 __construct
0.00% covered (danger)
0.00%
0 / 1
0.00% covered (danger)
0.00%
0 / 1
2
1<?php
2
3declare( strict_types = 1 );
4
5namespace EntitySchema\Services\Converter;
6
7/**
8 * The full data of an EntitySchema, represented as a recursive array.
9 *
10 * 'labels' is an associative array from language code to label in that language;
11 * 'descriptions' is an associative array from language code to description in that language;
12 * 'aliases' is an associative array from language code to list of aliases in that language;
13 * 'schemaText' is the schema text (string).
14 *
15 * Labels, descriptions and aliases are absent in languages where they are not defined,
16 * whereas the schema string is always present (possibly as the empty string).
17 *
18 * @license GPL-2.0-or-later
19 */
20class FullArrayEntitySchemaData {
21
22    public array $data;
23
24    public function __construct( array $data ) {
25        $this->data = $data;
26    }
27
28}