SessionPreferences::__construct()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 6

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 6
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 1
1
<?php
2
// Copyright 1999-2021. Plesk International GmbH.
3
4
namespace PleskX\Api\Struct\Server;
5
6
class SessionPreferences extends \PleskX\Api\Struct
7
{
8
    /** @var int */
9
    public $loginTimeout;
10
11
    public function __construct($apiResponse)
12
    {
13
        $this->_initScalarProperties($apiResponse, [
14
            'login_timeout',
15
        ]);
16
    }
17
}
18