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

BaseInterceptor   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 23
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

Changes 0
Metric Value
dl 0
loc 23
rs 10
c 0
b 0
f 0
wmc 1
lcom 0
cbo 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 5 1
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