Test Setup Failed
Push — master ( b48cec...128107 )
by Kirill
02:20
created

Registry::__construct()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 5
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 3
c 1
b 0
f 0
dl 0
loc 5
rs 10
cc 1
nc 1
nop 0
1
<?php
2
/**
3
 * This file is part of Railt package.
4
 *
5
 * For the full copyright and license information, please view the LICENSE
6
 * file that was distributed with this source code.
7
 */
8
declare(strict_types=1);
9
10
namespace Railt\SDL\Executor;
11
12
use Railt\SDL\Ast\Executable\DirectiveNode;
13
use Railt\SDL\Ast\Definition\TypeDefinitionNode;
14
use Railt\SDL\Ast\Definition\SchemaDefinitionNode;
15
use Railt\SDL\Ast\Definition\DirectiveDefinitionNode;
16
17
/**
18
 * Class Registry
19
 */
20
class Registry
21
{
22
    /**
23
     * @var array|TypeDefinitionNode[]
24
     */
25
    public array $typeMap = [];
26
27
    /**
28
     * @var array|DirectiveDefinitionNode[]
29
     */
30
    public array $directives = [];
31
32
    /**
33
     * @var DirectiveNode[]
34
     */
35
    public array $executions = [];
36
37
    /**
38
     * @var SchemaDefinitionNode|null
39
     */
40
    public ?SchemaDefinitionNode $schema = null;
41
}
42