InternalClient::__construct()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 4

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 4
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 0
1
<?php
2
// Copyright 1999-2021. Plesk International GmbH.
3
4
namespace PleskX\Api;
5
6
/**
7
 * Internal client for Plesk XML-RPC API (via SDK).
8
 */
9
class InternalClient extends Client
10
{
11
    public function __construct()
12
    {
13
        parent::__construct('localhost', 0, 'sdk');
14
    }
15
16
    /**
17
     * Setup login to execute requests under certain user.
18
     *
19
     * @param $login
20
     */
21
    public function setLogin($login)
22
    {
23
        $this->_login = $login;
24
    }
25
}
26