AbstractColumns::__construct()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 2
nc 1
nop 1
dl 0
loc 4
rs 10
c 0
b 0
f 0
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