Passed
Pull Request — master (#34)
by Adam
03:39
created

IdeResponse::__construct()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 5
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
cc 1
eloc 3
nc 1
nop 1
dl 0
loc 5
rs 10
c 1
b 0
f 0
1
<?php
2
3
namespace AcquiaCloudApi\Response;
4
5
/**
6
 * Class IdeResponse
7
 * @package AcquiaCloudApi\Response
8
 */
9
class IdeResponse
10
{
11
    public $uuid;
12
    public $label;
13
    public $links;
14
15
    /**
16
     * IdeResponse constructor.
17
     * @param object $ide
18
     */
19
    public function __construct($ide)
20
    {
21
        $this->uuid = $ide->uuid;
22
        $this->label = $ide->label;
23
        $this->links = $ide->_links;
24
    }
25
}
26