Server   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 15
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 2
Metric Value
wmc 1
lcom 0
cbo 2
dl 0
loc 15
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A setServerStatus() 0 4 1
1
<?php
2
namespace Perry\Representation\OldApi\v1;
3
4
use Perry\Representation\Base;
5
use Perry\Representation\Reference;
6
7
class Server extends Base
8
{
9
    /**
10
     * @param array $ref
11
     */
12
    protected function setServerStatus($ref)
13
    {
14
        $this->ServerStatus = new Reference($ref, "net.3rdpartyeve.thora.server.ServerStatus-v1");
15
    }
16
17
    /**
18
     * @var Reference
19
     */
20
    public $ServerStatus;
21
}
22