Passed
Push — nested-sections ( 2d40b2...7dbf34 )
by Arnaud
12:03 queued 05:37
created

AbstractPostProcessor   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 15
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 5
c 1
b 0
f 0
dl 0
loc 15
rs 10
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 4 1
1
<?php
2
3
declare(strict_types=1);
4
5
/*
6
 * This file is part of Cecil.
7
 *
8
 * Copyright (c) Arnaud Ligny <[email protected]>
9
 *
10
 * For the full copyright and license information, please view the LICENSE
11
 * file that was distributed with this source code.
12
 */
13
14
namespace Cecil\Renderer\PostProcessor;
15
16
use Cecil\Builder;
17
18
/**
19
 * Abstract class PostProcessor.
20
 */
21
abstract class AbstractPostProcessor implements PostProcessorInterface
22
{
23
    /** @var Builder */
24
    protected $builder;
25
26
    /** @var \Cecil\Config */
27
    protected $config;
28
29
    /**
30
     * {@inheritdoc}
31
     */
32
    public function __construct(Builder $builder)
33
    {
34
        $this->builder = $builder;
35
        $this->config = $builder->getConfig();
36
    }
37
}
38