Server::setServerStatus()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %
Metric Value
dl 0
loc 4
rs 10
cc 1
eloc 2
nc 1
nop 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