Passed
Push — master ( e906dc...1aa99a )
by Kirill
02:15
created

Backend::each()   A

Complexity

Conditions 2
Paths 2

Size

Total Lines 13

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 0
CRAP Score 6

Importance

Changes 0
Metric Value
dl 0
loc 13
ccs 0
cts 9
cp 0
rs 9.8333
c 0
b 0
f 0
cc 2
nc 2
nop 2
crap 6
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\Compiler;
11
12
use Railt\Parser\Ast\RuleInterface;
13
use Railt\Reflection\Contracts\Definition as DefinitionInterface;
14
use Railt\Reflection\Contracts\Document;
15
use Railt\SDL\Builder\BuilderInterface;
16
use Railt\SDL\Builder\Context;
17
use Railt\SDL\Builder\Definition;
18
use Railt\SDL\Builder\Invocation;
19
use Railt\SDL\Exception\TypeException;
20
21
/**
22
 * Class Backend
23
 */
24
class Backend
25
{
26
    /**
27
     * @var Process
28
     */
29
    private $process;
30
31
    /**
32
     * Backend constructor.
33
     * @param Process $process
34
     */
35
    public function __construct(Process $process)
36
    {
37
        $this->process = $process;
38
    }
39
}
40