Completed
Push — master ( 5d778a...3e509c )
by Alexei
12s
created

Info   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 16
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

Changes 1
Bugs 0 Features 1
Metric Value
wmc 1
c 1
b 0
f 1
lcom 0
cbo 1
dl 0
loc 16
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 7 1
1
<?php
2
// Copyright 1999-2016. Parallels IP Holdings GmbH.
3
4
namespace PleskX\Api\Struct\SiteAlias;
5
6
class Info extends \PleskX\Api\Struct
7
{
8
    /** @var string */
9
    public $status;
10
11
    /** @var integer */
12
    public $id;
13
14
    public function __construct($apiResponse)
15
    {
16
        $this->_initScalarProperties($apiResponse, [
17
            'id',
18
            'status',
19
        ]);
20
    }
21
}