WsseAuth::__construct()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 5
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 4
CRAP Score 1

Importance

Changes 0
Metric Value
dl 0
loc 5
ccs 4
cts 4
cp 1
rs 9.4285
c 0
b 0
f 0
cc 1
eloc 3
nc 1
nop 2
crap 1
1
<?php
2
3
/*
4
 * This file is part of the AMFWebServicesClientBundle package.
5
 *
6
 * (c) Amine Fattouch <http://github.com/fattouchsquall>
7
 *
8
 * For the full copyright and license information, please view the LICENSE
9
 * file that was distributed with this source code.
10
 */
11
12
namespace AMF\WebServicesClientBundle\Soap\Security;
13
14
/**
15
 * The soap wsse login informations.
16
 *
17
 * @author Mohamed Amine Fattouch <[email protected]>
18
 */
19
class WsseAuth
20
{
21
    /**
22
     * @var string
23
     */
24
    protected $Username;
25
26
    /**
27
     * @var string
28
     */
29
    protected $Password;
30
31
    /**
32
     * Constructor class.
33
     *
34
     * @param string $username The username used in wsse security.
35
     * @param string $password The password used in wsse security.
36
     */
37 3
    public function __construct($username, $password)
38
    {
39 3
        $this->Username = $username;
40 3
        $this->Password = $password;
41 3
    }
42
}
43