Code Coverage
 
Classes and Traits
Functions and Methods
Lines
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 / 2
EntitySchema\Services\SchemaConverter\FullArraySchemaData
0.00% covered (danger)
0.00%
0 / 1
0.00% covered (danger)
0.00%
0 / 1
2
0.00% covered (danger)
0.00%
0 / 2
 __construct
0.00% covered (danger)
0.00%
0 / 1
2
0.00% covered (danger)
0.00%
0 / 2
<?php
namespace EntitySchema\Services\SchemaConverter;
/**
 * The full data of a schema, represented as a recursive array.
 *
 * 'labels' is an associative array from language code to label in that language;
 * 'descriptions' is an associative array from language code to description in that language;
 * 'aliases' is an associative array from language code to list of aliases in that language;
 * 'schemaText' is the schema text (string).
 *
 * Labels, descriptions and aliases are absent in languages where they are not defined,
 * whereas the schema string is always present (possibly as the empty string).
 *
 * @license GPL-2.0-or-later
 */
class FullArraySchemaData {
    /** @var array */
    public $data;
    public function __construct( array $data ) {
        $this->data = $data;
    }
}