AbstractColumns   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 20
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 4 1
1
<?php
2
/**
3
 * Webino (http://webino.sk)
4
 *
5
 * @link        https://github.com/webino/WebinoDbDump/ for the canonical source repository
6
 * @copyright   Copyright (c) 2014-2017 Webino, s. r. o. (http://webino.sk)
7
 * @license     BSD-3-Clause
8
 */
9
10
namespace WebinoDbDump\Db\Dump\Table;
11
12
use Zend\Db\Adapter\Platform\PlatformInterface;
13
14
/**
15
 * Base class for a platform table columns
16
 *
17
 * @author Peter Bačinský <[email protected]>
18
 */
19
abstract class AbstractColumns
20
{
21
    /**
22
     * @var array
23
     */
24
    protected $columns = [];
25
26
    /**
27
     * @var PlatformInterface
28
     */
29
    protected $platform;
30
31
    /**
32
     * @param PlatformInterface $platform
33
     */
34
    public function __construct(PlatformInterface $platform)
35
    {
36
        $this->platform = $platform;
37
    }
38
}
39