Completed
Pull Request — master (#13)
by
unknown
02:07
created

ShortInfo::__construct()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 6
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
c 0
b 0
f 0
dl 0
loc 6
rs 9.4285
cc 1
eloc 3
nc 1
nop 1
1
<?php
2
// Copyright 1999-2016. Parallels IP Holdings GmbH.
3
4
namespace PleskX\Api\Struct\Database;
5
6
class ShortInfo extends \PleskX\Api\Struct
7
{
8
    /** @var integer */
9
    public $id;
10
11
    public function __construct($apiResponse)
12
    {
13
        $this->_initScalarProperties($apiResponse, [
14
            'id',
15
        ]);
16
    }
17
}
18