Completed
Push — include-lib ( fd24a6...4173d3 )
by Arnaud
13:24
created

AbstractGenerator   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 13
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 4 1
1
<?php
2
/*
3
 * Copyright (c) Arnaud Ligny <[email protected]>
4
 *
5
 * For the full copyright and license information, please view the LICENSE
6
 * file that was distributed with this source code.
7
 */
8
9
namespace Cecil\Generator;
10
11
/**
12
 * Abstract class AbstractGenerator.
13
 */
14
abstract class AbstractGenerator implements GeneratorInterface
15
{
16
    /* @var \Cecil\Config */
17
    protected $config;
18
19
    /**
20
     * {@inheritdoc}
21
     */
22
    public function __construct(\Cecil\Config $config)
23
    {
24
        $this->config = $config;
25
    }
26
}
27