Test Failed
Push — master ( e3b5b4...43c430 )
by Kirill
04:55
created

BaseInterceptor::__construct()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 5

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
nc 1
nop 2
dl 0
loc 5
rs 10
c 0
b 0
f 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\Frontend\Interceptor;
11
12
use Railt\SDL\Frontend\Builder;
13
use Railt\SDL\Frontend\SymbolTable;
14
15
/**
16
 * Class BaseInterceptor
17
 */
18
abstract class BaseInterceptor implements InterceptorInterface
19
{
20
    /**
21
     * @var Builder
22
     */
23
    protected $builder;
24
25
    /**
26
     * @var SymbolTable
27
     */
28
    protected $table;
29
30
    /**
31
     * BaseInterceptor constructor.
32
     * @param Builder $builder
33
     * @param SymbolTable $table
34
     */
35
    public function __construct(Builder $builder, SymbolTable $table)
36
    {
37
        $this->builder = $builder;
38
        $this->table = $table;
39
    }
40
}
41